2
0
Эх сурвалжийг харах

make simple example be resizeble

Jeffery Myers 1 жил өмнө
parent
commit
3207174f69
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      examples/simple.cpp

+ 1 - 1
examples/simple.cpp

@@ -24,7 +24,7 @@ int main(int argc, char* argv[])
 	int screenWidth = 1280;
 	int screenHeight = 800;
 
-	SetConfigFlags(FLAG_MSAA_4X_HINT | FLAG_VSYNC_HINT);
+	SetConfigFlags(FLAG_MSAA_4X_HINT | FLAG_VSYNC_HINT | FLAG_WINDOW_RESIZABLE);
 	InitWindow(screenWidth, screenHeight, "raylib-Extras [ImGui] example - simple ImGui Demo");
 	SetTargetFPS(144);
 	rlImGuiSetup(true);