1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

VIDEO: Fix bug: vid_ready can be used uninitialized.

This commit is contained in:
Lars Brinkhoff
2022-10-16 22:07:01 +02:00
committed by Mark Pizzolato
parent a5f6dcf1c7
commit c9bfb77396

View File

@@ -709,6 +709,7 @@ vptr->vid_height = height;
vptr->vid_mouse_captured = FALSE;
vptr->vid_cursor_visible = (vptr->vid_flags & SIM_VID_INPUTCAPTURED);
vptr->vid_blending = FALSE;
vptr->vid_ready = FALSE;
if (!vid_active) {
vid_key_events.head = 0;