Ver código fonte

fixed issue with GetScreenWidth/GetScreenHeight (#4074)

pull/4076/head
Anthony Carbajal 8 meses atrás
committed by GitHub
pai
commit
52f2a10db6
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: B5690EEEBB952194
1 arquivos alterados com 3 adições e 0 exclusões
  1. +3
    -0
      src/platforms/rcore_desktop.c

+ 3
- 0
src/platforms/rcore_desktop.c Ver arquivo

@ -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);
}

Carregando…
Cancelar
Salvar