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
4fb1e34b1e
commit
64e8305874
|
@ -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