diff options
Diffstat (limited to 'Tests/TestApp/src/TestTextureCreation.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestTextureCreation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/TestApp/src/TestTextureCreation.cpp b/Tests/TestApp/src/TestTextureCreation.cpp index 1bade31..dca027c 100644 --- a/Tests/TestApp/src/TestTextureCreation.cpp +++ b/Tests/TestApp/src/TestTextureCreation.cpp @@ -145,7 +145,7 @@ public: { if( TexCaps.bTexture2DMSSupported && (BindFlags & (BIND_RENDER_TARGET|BIND_DEPTH_STENCIL)) != 0 ) { - if( PixelFormatAttribs.SupportsMS ) + if( PixelFormatAttribs.SampleCounts & 0x04 ) { CreateTestTexture( RESOURCE_DIM_TEX_2D, 4 ); CreateTestTexture( RESOURCE_DIM_TEX_2D, 4 ); @@ -163,7 +163,7 @@ public: if( TexCaps.bTexture2DMSArraySupported && (BindFlags & (BIND_RENDER_TARGET|BIND_DEPTH_STENCIL)) != 0 ) { - if( PixelFormatAttribs.SupportsMS ) + if( PixelFormatAttribs.SampleCounts & 0x04 ) { CreateTestTexture( RESOURCE_DIM_TEX_2D_ARRAY, 4 ); CreateTestTexture( RESOURCE_DIM_TEX_2D_ARRAY, 4 ); |
