aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b449c4c..0de69f7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -67,6 +67,7 @@ int main() {
} else {
canRender = true;
renderer.recreate_swapchain();
+ renderer.mapped_data->cam.set_aspect_ratio((float)event.width / (float)event.height);
}
break;
}