Browse Source

Fixed missing return.

Brucey 4 years ago
parent
commit
d6b2268fc5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      sdlvideo.mod/glue.c

+ 1 - 0
sdlvideo.mod/glue.c

@@ -119,6 +119,7 @@ SDL_DisplayMode * bmx_sdl_video_DisplayMode_new(Uint32 format, int width, int he
 	mode->w = width;
 	mode->w = width;
 	mode->h = height;
 	mode->h = height;
 	mode->refresh_rate = refreshRate;
 	mode->refresh_rate = refreshRate;
+	return mode;
 }
 }
 
 
 void bmx_sdl_video_DisplayMode_free(SDL_DisplayMode * mode) {
 void bmx_sdl_video_DisplayMode_free(SDL_DisplayMode * mode) {