mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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));
|
DxsoBindingType::DepthImage, uint32_t(shaderSampler.second));
|
||||||
|
|
||||||
const bool srgb =
|
const bool srgb =
|
||||||
m_state.samplerStates[StateSampler][D3DSAMP_SRGBTEXTURE];
|
m_state.samplerStates[StateSampler][D3DSAMP_SRGBTEXTURE] & 0x1;
|
||||||
|
|
||||||
D3D9CommonTexture* commonTex =
|
D3D9CommonTexture* commonTex =
|
||||||
GetCommonTexture(m_state.textures[StateSampler]);
|
GetCommonTexture(m_state.textures[StateSampler]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user