Fixed crash initializing the dummy driver

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404275
This commit is contained in:
Sam Lantinga 2009-12-07 08:01:58 +00:00
parent ce410261ab
commit ea76da001c

View file

@ -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;