Allow SetWindowSize() on web (#1847)

This commit is contained in:
Nikhilesh S
2021-06-23 01:02:18 -07:00
committed by GitHub
parent 7203acdef9
commit f7a6b94f46

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