From 03f20ef7367aa31d23e24f2eebd014fd145456b2 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 16 Sep 2010 17:48:50 +0200 Subject: [PATCH] Added back mistakenly removed init time window hint clearing. --- src/init.c | 4 ++++ 1 file changed, 4 insertions(+) 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();