aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0a357f8..0176fdf 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -153,6 +153,8 @@ int main() {
vkrenderer renderer { wnd, inputs };
while(wnd.isOpen) {
+ wnd.poll_events();
+
// To start a frame capture, call StartFrameCapture.
// You can specify NULL, NULL for the device to capture on if you have only one device and
// either no windows at all or only one window, and it will capture from that device.