diff --git a/src/gl/gl3device.cpp b/src/gl/gl3device.cpp index 7d45362..b1036c0 100644 --- a/src/gl/gl3device.cpp +++ b/src/gl/gl3device.cpp @@ -1344,7 +1344,7 @@ beginUpdate(Camera *cam) #ifdef LIBRW_SDL2 SDL_GetWindowSize(glGlobals.window, &w, &h); #else - glfwGetWindowSize(glGlobals.window, &w, &h); + glfwGetFramebufferSize(glGlobals.window, &w, &h); #endif }else{ w = fb->width;