Commit ea76da00 authored by Sam Lantinga's avatar Sam Lantinga

Fixed crash initializing the dummy driver

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404275
parent ce410261
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment