mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-05 19:08:13 +00:00
Update rcore_desktop_glfw.c
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user