Fix: [SDL] buffer_locked state not initialised, causing _screen.dst_ptr to be potentially not set

This commit is contained in:
Rubidium 2021-04-12 19:57:08 +02:00 committed by Patric Stout
parent 4fb1e34b1e
commit 64e8305874
1 changed files with 1 additions and 1 deletions

View File

@ -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;