浏览代码

Return null.

woollybah 10 年之前
父节点
当前提交
778325e650
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);