From 468b1c6c5d1949f4d8aad90dad0f3d8770973113 Mon Sep 17 00:00:00 2001 From: Rubidium Date: Mon, 12 Apr 2021 20:58:44 +0200 Subject: Fix: [win32] buffer_locked state not initialised, causing _screen.dst_ptr to be potentially not set --- src/video/win32_v.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/win32_v.h b/src/video/win32_v.h index 8c63aeedf..4686df716 100644 --- a/src/video/win32_v.h +++ b/src/video/win32_v.h @@ -17,7 +17,7 @@ /** Base class for Windows video drivers. */ class VideoDriver_Win32Base : public VideoDriver { public: - VideoDriver_Win32Base() : main_wnd(nullptr), fullscreen(false) {} + VideoDriver_Win32Base() : main_wnd(nullptr), fullscreen(false), buffer_locked(false) {} void Stop() override; -- cgit v1.2.3-70-g09d2