From 3f5044e8657c02b8bfa4f62f8b23a4e5ca61e0af Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 16 Feb 2018 20:53:09 -0800 Subject: Fixed few compiler warnings --- Tests/TestApp/src/TestTextureCreation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Tests/TestApp/src/TestTextureCreation.cpp') diff --git a/Tests/TestApp/src/TestTextureCreation.cpp b/Tests/TestApp/src/TestTextureCreation.cpp index ab1967e..029e6e4 100644 --- a/Tests/TestApp/src/TestTextureCreation.cpp +++ b/Tests/TestApp/src/TestTextureCreation.cpp @@ -48,8 +48,8 @@ public: TextureCreationVerifier( IRenderDevice *pDevice, IDeviceContext *pContext ) : m_pDevice(pDevice), m_pDeviceContext(pContext), - m_TextureFormat(TEX_FORMAT_UNKNOWN), m_BindFlags(0), + m_TextureFormat(TEX_FORMAT_UNKNOWN), m_PixelSize(0), m_bTestDataUpload(False) { @@ -547,7 +547,7 @@ TestTextureCreation::TestTextureCreation( IRenderDevice *pDevice, IDeviceContext TextureCreationVerifier Verifier(pDevice, pContext); const Uint32 BindSRU = BIND_SHADER_RESOURCE | BIND_RENDER_TARGET | BIND_UNORDERED_ACCESS; const Uint32 BindSR = BIND_SHADER_RESOURCE | BIND_RENDER_TARGET; - const Uint32 BindSD = BIND_SHADER_RESOURCE | BIND_DEPTH_STENCIL; + //const Uint32 BindSD = BIND_SHADER_RESOURCE | BIND_DEPTH_STENCIL; const Uint32 BindSU = BIND_SHADER_RESOURCE | BIND_UNORDERED_ACCESS; const Uint32 BindD = BIND_DEPTH_STENCIL; const Uint32 BindS = BIND_SHADER_RESOURCE; -- cgit v1.2.3