mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Workaround for Mupen64Plus issue with initialization.
This commit is contained in:
parent
1c0519c9ee
commit
01fc74b3c9
7
VI.cpp
7
VI.cpp
|
@ -122,6 +122,13 @@ void VI_UpdateScreen()
|
||||||
Debug.step = FALSE;
|
Debug.step = FALSE;
|
||||||
#endif
|
#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();
|
glFinish();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user