src/scene.c

changeset 105
2b7f92ff2c15
parent 102
0d94fd280c6e
child 106
895f92cff6b8
--- a/src/scene.c	Sat May 03 13:30:04 2025 +0200
+++ b/src/scene.c	Sat May 03 13:49:24 2025 +0200
@@ -63,7 +63,7 @@
 
     // if the window resized, we must update the viewport
     if (asc_active_window->resized) {
-        asc_vec2i window_size = asc_active_window->dimensions;
+        asc_vec2u window_size = asc_active_window->dimensions;
         if (scene->camera.viewport_update_func == NULL) {
             // this assumes the viewport was initialized with zeros!
             scene->camera.viewport.size = window_size;

mercurial