mirror of
https://github.com/yawut/SDL.git
synced 2026-08-26 18:55:32 -05:00
Fixed crash initializing the dummy driver
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user