summaryrefslogtreecommitdiff
path: root/src/Quadtree_impl.h
diff options
context:
space:
mode:
authorJason Maskell <[email protected]>2016-05-25 16:02:23 +0200
committerJason Maskell <[email protected]>2016-05-25 16:02:23 +0200
commit69f624cfc22c361a8162f57df4a71e4324805717 (patch)
tree245e0e5ebcb120fc573eb44d82755c1456e0d519 /src/Quadtree_impl.h
parentAdded OpenGL sample - compiles and runs but doesn't work. (diff)
downloadwaveworks_archive-69f624cfc22c361a8162f57df4a71e4324805717.tar.xz
waveworks_archive-69f624cfc22c361a8162f57df4a71e4324805717.zip
Excised D3D9 and 10 support from library.
Diffstat (limited to 'src/Quadtree_impl.h')
-rw-r--r--src/Quadtree_impl.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/Quadtree_impl.h b/src/Quadtree_impl.h
index c57a72c..c332d97 100644
--- a/src/Quadtree_impl.h
+++ b/src/Quadtree_impl.h
@@ -49,8 +49,6 @@ public:
GFSDK_WaveWorks_Quadtree();
~GFSDK_WaveWorks_Quadtree();
- HRESULT initD3D9(const GFSDK_WaveWorks_Quadtree_Params& param, IDirect3DDevice9* pD3DDevice);
- HRESULT initD3D10(const GFSDK_WaveWorks_Quadtree_Params& param, ID3D10Device* pD3DDevice);
HRESULT initD3D11(const GFSDK_WaveWorks_Quadtree_Params& param, ID3D11Device* pD3DDevice);
HRESULT initGnm(const GFSDK_WaveWorks_Quadtree_Params& param);
HRESULT initGL2(const GFSDK_WaveWorks_Quadtree_Params& param, GLuint Program);
@@ -77,10 +75,6 @@ public:
HRESULT getStats(GFSDK_WaveWorks_Quadtree_Stats& stats) const;
- static HRESULT getShaderInputCountD3D9();
- static HRESULT getShaderInputDescD3D9(UINT inputIndex, GFSDK_WaveWorks_ShaderInput_Desc* pDesc);
- static HRESULT getShaderInputCountD3D10();
- static HRESULT getShaderInputDescD3D10(UINT inputIndex, GFSDK_WaveWorks_ShaderInput_Desc* pDesc);
static HRESULT getShaderInputCountD3D11();
static HRESULT getShaderInputDescD3D11(UINT inputIndex, GFSDK_WaveWorks_ShaderInput_Desc* pDesc);
static HRESULT getShaderInputCountGnm();
@@ -177,21 +171,6 @@ private:
// D3D API handling
nv_water_d3d_api m_d3dAPI;
-#if WAVEWORKS_ENABLE_D3D9
- struct D3D9Objects
- {
- IDirect3DDevice9* m_pd3d9Device;
- };
-#endif
-
-#if WAVEWORKS_ENABLE_D3D10
- struct D3D10Objects
- {
- ID3D10Device* m_pd3d10Device;
- ID3D10Buffer* m_pd3d10VertexShaderCB;
- };
-#endif
-
#if WAVEWORKS_ENABLE_D3D11
struct D3D11Objects
{
@@ -215,12 +194,6 @@ private:
#endif
union
{
-#if WAVEWORKS_ENABLE_D3D9
- D3D9Objects _9;
-#endif
-#if WAVEWORKS_ENABLE_D3D10
- D3D10Objects _10;
-#endif
#if WAVEWORKS_ENABLE_D3D11
D3D11Objects _11;
#endif