Changeset - r25173:d0e76c872f58
[Not reviewed]
master
0 1 0
Rubidium - 3 years ago 2021-04-12 17:57:08
rubidium@openttd.org
Fix: [SDL] 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/sdl2_v.h
Show inline comments
 
@@ -17,7 +17,7 @@
 
/** The SDL video driver. */
 
class VideoDriver_SDL_Base : public VideoDriver {
 
public:
 
	VideoDriver_SDL_Base() : sdl_window(nullptr) {}
 
	VideoDriver_SDL_Base() : sdl_window(nullptr), buffer_locked(false) {}
 

	
 
	const char *Start(const StringList &param) override;
 

	
0 comments (0 inline, 0 general)