mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 21:37:27 +00:00
Added back mistakenly removed init time window hint clearing.
This commit is contained in:
parent
40193213e5
commit
03f20ef736
@ -60,6 +60,10 @@ GLFWAPI int glfwInit(void)
|
|||||||
|
|
||||||
memset(&_glfwLibrary, 0, sizeof(_glfwLibrary));
|
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())
|
if (!_glfwPlatformInit())
|
||||||
{
|
{
|
||||||
_glfwPlatformTerminate();
|
_glfwPlatformTerminate();
|
||||||
|
Loading…
Reference in New Issue
Block a user