diff options
Diffstat (limited to 'Tests/TestApp/src/ShaderConverterTest.cpp')
| -rw-r--r-- | Tests/TestApp/src/ShaderConverterTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/ShaderConverterTest.cpp b/Tests/TestApp/src/ShaderConverterTest.cpp index 51ee397..8fbe0b4 100644 --- a/Tests/TestApp/src/ShaderConverterTest.cpp +++ b/Tests/TestApp/src/ShaderConverterTest.cpp @@ -44,7 +44,7 @@ ShaderConverterTest::ShaderConverterTest( IRenderDevice *pRenderDevice, IDeviceC CreationAttrs.pShaderSourceStreamFactory = &BasicSSSFactory; CreationAttrs.SourceLanguage = SHADER_SOURCE_LANGUAGE_HLSL; CreationAttrs.Desc.Name = "Test converted shader"; - CreationAttrs.UseCombinedTextureSamplers = true; + CreationAttrs.UseCombinedTextureSamplers = pRenderDevice->GetDeviceCaps().IsGLDevice(); RefCntAutoPtr<IHLSL2GLSLConversionStream> pStream; CreationAttrs.ppConversionStream = pStream.GetRawDblPtr(); |
