From 85d5744679a14ca52ca40f924ab4f7614bf7e17c Mon Sep 17 00:00:00 2001 From: raysan5 Date: Mon, 7 Sep 2020 15:34:21 +0200 Subject: [PATCH] REVIEW: glfwSetWindowMaximizeCallback() not available on web --- src/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core.c b/src/core.c index 32eaa70f..ae7de8df 100644 --- a/src/core.c +++ b/src/core.c @@ -2930,7 +2930,9 @@ static bool InitGraphicsDevice(int width, int height) glfwSetWindowIconifyCallback(CORE.Window.handle, WindowIconifyCallback); glfwSetWindowFocusCallback(CORE.Window.handle, WindowFocusCallback); glfwSetDropCallback(CORE.Window.handle, WindowDropCallback); +#if !defined(PLATFORM_WEB) glfwSetWindowMaximizeCallback(CORE.Window.handle, WindowMaximizeCallback); +#endif glfwMakeContextCurrent(CORE.Window.handle);