mirror of https://github.com/OpenTTD/OpenTTD.git
Fix: [SDL] buffer_locked state not initialised, causing _screen.dst_ptr to be potentially not set
This commit is contained in:
parent
961cda50bc
commit
dee9d6dfd4
|
@ -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 ¶m) override;
|
||||
|
||||
|
|
Loading…
Reference in New Issue