In Debug builds, force flushing of all GL commands each buffer swap.

This commit is contained in:
unknown 2015-03-02 13:40:34 -05:00
parent ab6cad081f
commit 30ecec315e
1 changed files with 4 additions and 0 deletions

View File

@ -2115,6 +2115,10 @@ grBufferSwap( FxU32 swap_interval )
for (i = 0; i < nb_fb; i++) for (i = 0; i < nb_fb; i++)
fbs[i].buff_clear = 1; fbs[i].buff_clear = 1;
#ifdef _DEBUG
grFinish();
#endif
// VP debugging // VP debugging
#ifdef VPDEBUG #ifdef VPDEBUG
dump_stop(); dump_stop();