Parcourir la source

Fixed missing return.

Brucey il y a 4 ans
Parent
commit
d6b2268fc5
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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->h = height;
 	mode->refresh_rate = refreshRate;
+	return mode;
 }
 
 void bmx_sdl_video_DisplayMode_free(SDL_DisplayMode * mode) {