Added back mistakenly removed init time window hint clearing.

master
Camilla Berglund ago%!(EXTRA string=15 years)
parent 40193213e5
commit 03f20ef736
  1. 4
      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();

Loading…
Cancel
Save