1
0
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:
narzoul 2024-06-30 13:44:26 +02:00
parent 944ae1554d
commit 0ce906c28c

View File

@ -679,6 +679,7 @@ namespace D3dDdi
HRESULT DeviceState::pfnSetTextureStageState(const D3DDDIARG_TEXTURESTAGESTATE* data)
{
m_changedStates |= CS_TEXTURE_STAGE;
if (D3DTSS_ADDRESS == data->State)
{
m_app.textureStageState[data->Stage][D3DDDITSS_ADDRESSU] = data->Value;