Browse Source

Return null.

woollybah 10 years ago
parent
commit
778325e650
1 changed files with 1 additions and 1 deletions
  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) {
 printf("error... %s\n", SDL_GetError());fflush(stdout);
-		return;
+		return NULL;
 	}
 
 	SDL_GL_SetSwapInterval(-1);