From 8685b0ec4718edf6668e7818a7998670a9769e3d Mon Sep 17 00:00:00 2001 From: milek7 Date: Mon, 18 Mar 2019 22:54:18 +0100 Subject: [PATCH] fullscreen fix --- application.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application.cpp b/application.cpp index 14d0360a..99d78d48 100644 --- a/application.cpp +++ b/application.cpp @@ -628,6 +628,8 @@ eu07_application::init_glfw() { } auto *monitor { find_monitor(Global.fullscreen_monitor) }; + if (!monitor) + monitor = glfwGetPrimaryMonitor(); glfwWindowHint(GLFW_SRGB_CAPABLE, !Global.gfx_shadergamma);