Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed crash initializing the dummy driver
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 7, 2009
1 parent be589f4 commit ef30345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/dummy/SDL_nullvideo.c
Expand Up @@ -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;
Expand Down

0 comments on commit ef30345

Please sign in to comment.