Parcourir la source

Allow SetWindowSize() on web (#1847)

pull/1849/head
Nikhilesh S il y a 4 ans
committed by GitHub
Parent
révision
f7a6b94f46
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/core.c

+ 1
- 1
src/core.c Voir le fichier

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

Chargement…
Annuler
Enregistrer