Renamed window hint reset function for clarity.

This commit is contained in:
Camilla Berglund
2011-03-07 14:16:31 +01:00
parent 3d82683177
commit 0f481cb09d
3 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -105,9 +105,9 @@ GLFWAPI int glfwInitWithModels(GLFWthreadmodel* threading, GLFWallocator* alloca
_glfwLibrary.allocator.free = free;
}
// Not all window hints are cleared to zero, so this needs to be here
// despite the memset above
_glfwClearWindowHints();
// Not all window hints have zero as their default value, so this
// needs to be here despite the memset above
_glfwSetDefaultWindowHints();
if (!_glfwPlatformInit())
{