In Debug builds, force flushing of all GL commands each buffer swap.
This commit is contained in:
parent
ab6cad081f
commit
30ecec315e
|
@ -2115,6 +2115,10 @@ grBufferSwap( FxU32 swap_interval )
|
|||
for (i = 0; i < nb_fb; i++)
|
||||
fbs[i].buff_clear = 1;
|
||||
|
||||
#ifdef _DEBUG
|
||||
grFinish();
|
||||
#endif
|
||||
|
||||
// VP debugging
|
||||
#ifdef VPDEBUG
|
||||
dump_stop();
|
||||
|
|
Loading…
Reference in New Issue