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