Browse Source

REVIEW: glfwSetWindowMaximizeCallback() not available on web

pull/1371/head
raysan5 4 years ago
parent
commit
85d5744679
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/core.c

+ 2
- 0
src/core.c View File

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

Loading…
Cancel
Save