瀏覽代碼

Add cation to Window

DricomDragon 4 年之前
父節點
當前提交
9c159936e1
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      sdl1/colorGenerator/main.cpp

+ 2 - 0
sdl1/colorGenerator/main.cpp

@@ -25,6 +25,8 @@ int main ( int argc, char** argv )
 		return 1;
 	}
 
+	SDL_WM_SetCaption("Color Generator", 0);
+
 	// variables
 	SDL_Rect dstrect;
 	const Uint32 delay(18);