window size test

This commit is contained in:
aap 2021-02-18 21:03:42 +01:00
parent cc550ff69c
commit 8b2caf8f86
1 changed files with 1 additions and 1 deletions

View File

@ -1344,7 +1344,7 @@ beginUpdate(Camera *cam)
#ifdef LIBRW_SDL2 #ifdef LIBRW_SDL2
SDL_GetWindowSize(glGlobals.window, &w, &h); SDL_GetWindowSize(glGlobals.window, &w, &h);
#else #else
glfwGetWindowSize(glGlobals.window, &w, &h); glfwGetFramebufferSize(glGlobals.window, &w, &h);
#endif #endif
}else{ }else{
w = fb->width; w = fb->width;