-fixed: When performing a restart the SW scene drawer's resources should be reset because they are outside the control of higher level containers.

This commit is contained in:
Christoph Oelckers 2018-04-08 08:03:46 +02:00
commit 1897073b60
6 changed files with 18 additions and 1 deletions

View file

@ -385,6 +385,12 @@ bool OpenGLFrameBuffer::SetContrast(float contrast)
//
//===========================================================================
void OpenGLFrameBuffer::CleanForRestart()
{
if (GLRenderer)
GLRenderer->ResetSWScene();
}
void OpenGLFrameBuffer::UpdatePalette()
{
if (GLRenderer)