From 085d4c6dd995a4da396ddf3d51b619fafb77af7b Mon Sep 17 00:00:00 2001 From: ladevieq Date: Thu, 1 Apr 2021 14:33:29 +0200 Subject: Remove remaining pregenerated random numbers --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 968027a..0e2911c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -58,6 +58,9 @@ int main() { auto can_render = true; vkrenderer renderer { wnd, inputs }; + ImGuiIO& io = ImGui::GetIO(); + io.DisplaySize.x = (float)width; + io.DisplaySize.y = (float)height; while(wnd.isOpen) { auto reset_accumulation = false; -- cgit v1.3