Propose to always check for GL errors before each vertical interrupt.

This commit is contained in:
unknown 2015-03-02 15:25:00 -05:00
parent c2d08d61dc
commit fc16d51525
1 changed files with 4 additions and 0 deletions

View File

@ -1878,6 +1878,10 @@ void CALL UpdateScreen (void)
if (fullscreen && (*gfx.VI_ORIGIN_REG > width))
update_screen_count++;
#if defined(_DEBUG) || 0
grDisplayGLError("UpdateScreen");
#endif
#ifdef FPS
// vertical interrupt has occurred, increment counter
vi_count ++;