From dfc9a9b37d544d3a357b560829d2a9a48e5e5f5b Mon Sep 17 00:00:00 2001 From: ladevieq Date: Sat, 16 Jan 2021 23:22:30 +0100 Subject: Add windows window event loop --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.cpp') 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. -- cgit v1.3