- fixed: If we want to cache texture binding state we have to reset it in all places where a texture becomes unbound.

This commit is contained in:
Christoph Oelckers 2014-08-31 19:00:17 +02:00
commit a280c20b4e
4 changed files with 8 additions and 0 deletions

View file

@ -240,6 +240,7 @@ void OpenGLFrameBuffer::WipeCleanup()
delete wipeendscreen;
wipeendscreen = NULL;
}
FMaterial::ClearLastTexture();
}
//==========================================================================