Browse Source

Update rcore_desktop_glfw.c

pull/4895/head
Ray 1 month ago
parent
commit
80fcca4155
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/platforms/rcore_desktop_glfw.c

+ 1
- 1
src/platforms/rcore_desktop_glfw.c View File

@ -1759,7 +1759,7 @@ static void WindowSizeCallback(GLFWwindow *window, int width, int height)
width = (int)(width/GetWindowScaleDPI().x); width = (int)(width/GetWindowScaleDPI().x);
height = (int)(height/GetWindowScaleDPI().y); height = (int)(height/GetWindowScaleDPI().y);
} }
// Set render size // Set render size
CORE.Window.render.width = width; CORE.Window.render.width = width;
CORE.Window.render.height = height; CORE.Window.render.height = height;

Loading…
Cancel
Save