Fix ToggleBorderlessWindowed duplicated glfwSetWindowSize calls

This commit is contained in:
ubkp 2023-09-22 23:03:08 -03:00
parent d5a780d4d1
commit 336430055f

View File

@ -711,7 +711,6 @@ void ToggleBorderlessWindowed(void)
glfwGetMonitorPos(monitors[monitor], &monitorPosX, &monitorPosY); glfwGetMonitorPos(monitors[monitor], &monitorPosX, &monitorPosY);
const int monitorWidth = mode->width; const int monitorWidth = mode->width;
const int monitorHeight = mode->height; const int monitorHeight = mode->height;
glfwSetWindowSize(CORE.Window.handle, monitorWidth, monitorHeight);
// Set screen position and size // Set screen position and size
glfwSetWindowPos(CORE.Window.handle, monitorPosX, monitorPosY); glfwSetWindowPos(CORE.Window.handle, monitorPosX, monitorPosY);