1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Workaround for Mupen64Plus issue with initialization.

This commit is contained in:
Sergey Lipskiy 2014-11-24 23:08:03 +06:00
parent 1c0519c9ee
commit 01fc74b3c9

7
VI.cpp
View File

@ -122,6 +122,13 @@ void VI_UpdateScreen()
Debug.step = FALSE;
#endif
}
VI.lastOrigin = *REG.VI_ORIGIN;
}
if (VI.lastOrigin == 0) { // Workaround for Mupen64Plus issue with initialization
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClear(GL_COLOR_BUFFER_BIT);
}
glFinish();
}