mirror of https://github.com/OpenTTD/OpenTTD
Fix: [win32] buffer_locked state not initialised, causing _screen.dst_ptr to be potentially not set
parent
8562395413
commit
468b1c6c5d
|
@ -17,7 +17,7 @@
|
||||||
/** Base class for Windows video drivers. */
|
/** Base class for Windows video drivers. */
|
||||||
class VideoDriver_Win32Base : public VideoDriver {
|
class VideoDriver_Win32Base : public VideoDriver {
|
||||||
public:
|
public:
|
||||||
VideoDriver_Win32Base() : main_wnd(nullptr), fullscreen(false) {}
|
VideoDriver_Win32Base() : main_wnd(nullptr), fullscreen(false), buffer_locked(false) {}
|
||||||
|
|
||||||
void Stop() override;
|
void Stop() override;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue