]> git.seodisparate.com - jumpartifact.com_demo_0/commitdiff
Allow resizable window in native build
authorStephen Seo <seo.disparate@gmail.com>
Mon, 21 Aug 2023 03:58:52 +0000 (12:58 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Mon, 21 Aug 2023 03:58:52 +0000 (12:58 +0900)
src/main.cc

index b2c18629a291ae3e796b315a0bf34919bfbe2f19..8ce075654064a57f865ae052cbd17e2a692c8226 100644 (file)
@@ -52,6 +52,7 @@ int main() {
   {
     Game game{};
     SetTargetFPS(60);
+    SetWindowState(FLAG_WINDOW_RESIZABLE);
 
     while (!WindowShouldClose()) {
       jumpartifact_demo_update(&game);