VIDEO: Fix bug handling a redraw event.

An event pulled from the queue after redraw has been handled needs to
update the vptr pointer.
This commit is contained in:
Lars Brinkhoff 2022-10-29 20:18:16 +02:00 committed by Paul Koning
parent 9cfa212e60
commit 8e109fe787

View file

@ -2075,6 +2075,7 @@ while (vid_active) {
event.user.code = 0; /* Mark as done */ event.user.code = 0; /* Mark as done */
continue; continue;
} }
vptr = vid_get_event_window (&event, event.user.windowID);
break; break;
} }
} }