diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index f81f1171..aebfa79f 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -5761,7 +5761,7 @@ namespace dxvk { DxsoBindingType::DepthImage, uint32_t(shaderSampler.second)); const bool srgb = - m_state.samplerStates[StateSampler][D3DSAMP_SRGBTEXTURE]; + m_state.samplerStates[StateSampler][D3DSAMP_SRGBTEXTURE] & 0x1; D3D9CommonTexture* commonTex = GetCommonTexture(m_state.textures[StateSampler]);