Changeset - r25175:332152162c17
[Not reviewed]
master
0 1 0
Rubidium - 3 years ago 2021-04-12 18:58:44
rubidium@openttd.org
Fix: [win32] buffer_locked state not initialised, causing _screen.dst_ptr to be potentially not set
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/video/win32_v.h
Show inline comments
 
@@ -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;
 

	
0 comments (0 inline, 0 general)