mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
Fixed texture stage state updates not flushing correctly
Fixes texture filtering mode of trees in Carnivores.
This commit is contained in:
parent
944ae1554d
commit
0ce906c28c
@ -679,6 +679,7 @@ namespace D3dDdi
|
|||||||
|
|
||||||
HRESULT DeviceState::pfnSetTextureStageState(const D3DDDIARG_TEXTURESTAGESTATE* data)
|
HRESULT DeviceState::pfnSetTextureStageState(const D3DDDIARG_TEXTURESTAGESTATE* data)
|
||||||
{
|
{
|
||||||
|
m_changedStates |= CS_TEXTURE_STAGE;
|
||||||
if (D3DTSS_ADDRESS == data->State)
|
if (D3DTSS_ADDRESS == data->State)
|
||||||
{
|
{
|
||||||
m_app.textureStageState[data->Stage][D3DDDITSS_ADDRESSU] = data->Value;
|
m_app.textureStageState[data->Stage][D3DDDITSS_ADDRESSU] = data->Value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user