16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 01:59:19 +02:00

fullscreen fix

This commit is contained in:
milek7
2019-03-18 22:54:18 +01:00
parent e46add2939
commit 8685b0ec47

View File

@@ -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);