mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-29 17:52:18 +01:00
[d3d9] Only look at the last bit for D3DSAMP_SRGBTEXTURE
This commit is contained in:
parent
a1fbcf35de
commit
973678e6bf
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user