Init _oldVideoMode, _videoMode and _transactioDetails properly.
svn-id: r35066
This commit is contained in:
parent
bfc9b972f5
commit
a68bb32a97
1 changed files with 3 additions and 2 deletions
|
@ -116,8 +116,9 @@ void OSystem_SDL::initBackend() {
|
||||||
// Enable unicode support if possible
|
// Enable unicode support if possible
|
||||||
SDL_EnableUNICODE(1);
|
SDL_EnableUNICODE(1);
|
||||||
|
|
||||||
_oldVideoMode.setup = false;
|
memset(&_oldVideoMode, 0, sizeof(_oldVideoMode));
|
||||||
_videoMode.setup = false;
|
memset(&_videoMode, 0, sizeof(_videoMode));
|
||||||
|
memset(&_transactionDetails, 0, sizeof(_transactionDetails));
|
||||||
|
|
||||||
_cksumValid = false;
|
_cksumValid = false;
|
||||||
#if !defined(_WIN32_WCE) && !defined(__SYMBIAN32__) && !defined(DISABLE_SCALERS)
|
#if !defined(_WIN32_WCE) && !defined(__SYMBIAN32__) && !defined(DISABLE_SCALERS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue