Просмотр исходного кода

Update rcore_desktop_glfw.c

pull/5442/head
Ray 3 дней назад
Родитель
Сommit
a334a54eac
1 измененных файлов: 1 добавлений и 6 удалений
  1. +1
    -6
      src/platforms/rcore_desktop_glfw.c

+ 1
- 6
src/platforms/rcore_desktop_glfw.c Просмотреть файл

@ -275,12 +275,7 @@ void ToggleBorderlessWindowed(void)
FLAG_SET(CORE.Window.flags, FLAG_WINDOW_UNDECORATED); FLAG_SET(CORE.Window.flags, FLAG_WINDOW_UNDECORATED);
// Get monitor position and size // Get monitor position and size
int monitorPosX = 0;
int monitorPosY = 0;
glfwGetMonitorPos(monitors[monitor], &monitorPosX, &monitorPosY);
CORE.Window.position.x = monitorPosX;
CORE.Window.position.y = monitorPosY;
glfwGetMonitorPos(monitors[monitor], &CORE.Window.position.x, &CORE.Window.position.y);
CORE.Window.screen.width = mode->width; CORE.Window.screen.width = mode->width;
CORE.Window.screen.height = mode->height; CORE.Window.screen.height = mode->height;

Загрузка…
Отмена
Сохранить