Browse Source

Return null.

woollybah 10 năm trước cách đây
mục cha
commit
778325e650
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);