Sfoglia il codice sorgente

Allow SetWindowSize() on web (#1847)

pull/1849/head
Nikhilesh S 4 anni fa
committed by GitHub
parent
commit
f7a6b94f46
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/core.c

+ 1
- 1
src/core.c Vedi File

@ -1560,7 +1560,7 @@ void SetWindowMinSize(int width, int height)
// TODO: Issues on HighDPI scaling
void SetWindowSize(int width, int height)
{
#if defined(PLATFORM_DESKTOP)
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
glfwSetWindowSize(CORE.Window.handle, width, height);
#endif
#if defined(PLATFORM_WEB)

Caricamento…
Annulla
Salva