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:
committed by
Mark Pizzolato
parent
a5f6dcf1c7
commit
c9bfb77396
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user