StateManager save functions reworked to work like a stack

This commit is contained in:
d1str4ught
2025-08-26 02:33:21 +02:00
parent d8f6f0ea6b
commit 27c683a36b
3 changed files with 98 additions and 206 deletions

View File

@@ -122,7 +122,6 @@ void CMapOutdoor::RenderWater()
//////////////////////////////////////////////////////////////////////////
// RenderState
STATEMANAGER.RestoreVertexShader();
STATEMANAGER.RestoreTransform(D3DTS_TEXTURE0);
STATEMANAGER.RestoreSamplerState(0, D3DSAMP_MINFILTER);
STATEMANAGER.RestoreSamplerState(0, D3DSAMP_MAGFILTER);