mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-17 05:59:58 +00:00
Init _oldVideoMode, _videoMode and _transactioDetails properly.
svn-id: r35066
This commit is contained in:
parent
bfc9b972f5
commit
a68bb32a97
@ -116,8 +116,9 @@ void OSystem_SDL::initBackend() {
|
||||
// Enable unicode support if possible
|
||||
SDL_EnableUNICODE(1);
|
||||
|
||||
_oldVideoMode.setup = false;
|
||||
_videoMode.setup = false;
|
||||
memset(&_oldVideoMode, 0, sizeof(_oldVideoMode));
|
||||
memset(&_videoMode, 0, sizeof(_videoMode));
|
||||
memset(&_transactionDetails, 0, sizeof(_transactionDetails));
|
||||
|
||||
_cksumValid = false;
|
||||
#if !defined(_WIN32_WCE) && !defined(__SYMBIAN32__) && !defined(DISABLE_SCALERS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user