Bladeren bron

Return null.

woollybah 10 jaren geleden
bovenliggende
commit
778325e650
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      sdlgraphics.mod/glue.c

+ 1 - 1
sdlgraphics.mod/glue.c

@@ -124,7 +124,7 @@ BBSDLContext *bbSDLGraphicsCreateGraphics( int width,int height,int depth,int hz
 		
 		
 	if (window == NULL) {
 	if (window == NULL) {
 printf("error... %s\n", SDL_GetError());fflush(stdout);
 printf("error... %s\n", SDL_GetError());fflush(stdout);
-		return;
+		return NULL;
 	}
 	}
 
 
 	SDL_GL_SetSwapInterval(-1);
 	SDL_GL_SetSwapInterval(-1);