aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorladevieq <qladevie@wanadev.fr>2021-04-01 14:33:29 +0200
committerladevieq <qladevie@wanadev.fr>2021-04-01 14:33:29 +0200
commit085d4c6dd995a4da396ddf3d51b619fafb77af7b (patch)
tree9d02d527fe68798e1f91c3a2641ddbd7d129addd /src/main.cpp
parentb4c2ce16c660c27dbfdeef12a55a0c7d448a83d2 (diff)
Remove remaining pregenerated random numbers
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
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;