Propose to always check for GL errors before each vertical interrupt.
This commit is contained in:
parent
c2d08d61dc
commit
fc16d51525
|
@ -1878,6 +1878,10 @@ void CALL UpdateScreen (void)
|
||||||
if (fullscreen && (*gfx.VI_ORIGIN_REG > width))
|
if (fullscreen && (*gfx.VI_ORIGIN_REG > width))
|
||||||
update_screen_count++;
|
update_screen_count++;
|
||||||
|
|
||||||
|
#if defined(_DEBUG) || 0
|
||||||
|
grDisplayGLError("UpdateScreen");
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef FPS
|
#ifdef FPS
|
||||||
// vertical interrupt has occurred, increment counter
|
// vertical interrupt has occurred, increment counter
|
||||||
vi_count ++;
|
vi_count ++;
|
||||||
|
|
Loading…
Reference in New Issue