From 1f0e7cabb2d456caabaf86d5181570e7ee39eed5 Mon Sep 17 00:00:00 2001 From: Nikhilesh Sigatapu Date: Tue, 22 Jun 2021 20:35:04 -0700 Subject: [PATCH] Allow SetWindowSize() on web --- src/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.c b/src/core.c index e70b9474c..e711e4ec8 100644 --- a/src/core.c +++ b/src/core.c @@ -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)