Sfoglia il codice sorgente

fixed issue with GetScreenWidth/GetScreenHeight (#4074)

pull/4076/head
Anthony Carbajal 8 mesi fa
committed by GitHub
parent
commit
52f2a10db6
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: B5690EEEBB952194
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      src/platforms/rcore_desktop.c

+ 3
- 0
src/platforms/rcore_desktop.c Vedi File

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

Caricamento…
Annulla
Salva