# HG changeset patch # User Rubidium # Date 2021-04-12 18:58:44 # Node ID 332152162c17f1f5957d6ced90ae2f0036da7ff5 # Parent cd6e798283ead0d4cc81a259ecc00342c159c75b Fix: [win32] buffer_locked state not initialised, causing _screen.dst_ptr to be potentially not set diff --git a/src/video/win32_v.h b/src/video/win32_v.h --- 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;