Fixed crash initializing the dummy driver
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404275
This commit is contained in:
parent
ce410261ab
commit
ea76da001c
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ DUMMY_VideoInit(_THIS)
|
|||
SDL_AddRenderDriver(&_this->displays[0], &SDL_DUMMY_RenderDriver);
|
||||
|
||||
SDL_zero(mode);
|
||||
SDL_AddDisplayMode(0, &mode);
|
||||
SDL_AddDisplayMode(&_this->displays[0], &mode);
|
||||
|
||||
/* We're done! */
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue