From d732817759789b5d620bd5ae6ed162f9ff3061fa Mon Sep 17 00:00:00 2001 From: aap Date: Thu, 30 Apr 2020 10:17:00 +0200 Subject: [PATCH] little fix for glfw --- src/gl/gl3device.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gl/gl3device.cpp b/src/gl/gl3device.cpp index bd1b704..10cd077 100644 --- a/src/gl/gl3device.cpp +++ b/src/gl/gl3device.cpp @@ -1073,6 +1073,8 @@ startGLFW(void) } glGlobals.window = win; *glGlobals.pWindow = win; + glGlobals.presentWidth = 0; + glGlobals.presentHeight = 0; return 1; }