diff --git a/src/init.c b/src/init.c index 2e2b2bf7..b1da8c9b 100644 --- a/src/init.c +++ b/src/init.c @@ -60,6 +60,10 @@ GLFWAPI int glfwInit(void) memset(&_glfwLibrary, 0, sizeof(_glfwLibrary)); + // Not all window hints are cleared to zero, so this needs to be here + // despite the memset above + _glfwClearWindowHints(); + if (!_glfwPlatformInit()) { _glfwPlatformTerminate();