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

fixed issue with GetScreenWidth/GetScreenHeight (#4074)

pull/4076/head
Anthony Carbajal 8 месяцев назад
committed by GitHub
Родитель
Сommit
52f2a10db6
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: B5690EEEBB952194
1 измененных файлов: 3 добавлений и 0 удалений
  1. +3
    -0
      src/platforms/rcore_desktop.c

+ 3
- 0
src/platforms/rcore_desktop.c Просмотреть файл

@ -666,6 +666,9 @@ void SetWindowMaxSize(int width, int height)
// Set window dimensions
void SetWindowSize(int width, int height)
{
CORE.Window.screen.width = width;
CORE.Window.screen.height = height;
glfwSetWindowSize(platform.handle, width, height);
}

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