When pressing ALT+A, i noticed other windows advance 1 frame. This is
caused by swapbuffers system, which redraws the other windows when the CFRA timer already advanced 1 frame. Added an extra redraw to fix this. Could fix report #964, will wait for JWalton to verify.
This commit is contained in:
@@ -2454,7 +2454,11 @@ int play_anim(int mode)
|
||||
audiostream_start( CFRA );
|
||||
|
||||
inner_play_anim_loop(1, mode); /* 1==init */
|
||||
|
||||
|
||||
/* forces all buffers to be OK for current frame (otherwise other windows get redrawn with CFRA+1) */
|
||||
curarea->win_swap= WIN_BACK_OK;
|
||||
screen_swapbuffers();
|
||||
|
||||
while(TRUE) {
|
||||
|
||||
inner_play_anim_loop(0, 0);
|
||||
|
||||
Reference in New Issue
Block a user