Added EGL errors to output, added EGL init to Win32.

This commit is contained in:
Camilla Berglund
2013-01-16 20:10:17 +01:00
parent 9b6fb32dc2
commit 3a871b9edb
4 changed files with 96 additions and 7 deletions
+5
View File
@@ -190,6 +190,9 @@ int _glfwPlatformInit(void)
_glfwPlatformGetGammaRamp(&_glfw.originalRamp);
_glfw.currentRamp = _glfw.originalRamp;
if (!_glfwInitOpenGL())
return GL_FALSE;
_glfwInitTimer();
_glfwInitJoysticks();
@@ -214,6 +217,8 @@ void _glfwPlatformTerminate(void)
_glfw.win32.classAtom = 0;
}
_glfwTerminateOpenGL();
_glfwTerminateJoysticks();
freeLibraries();