Initialize context creation APIs on demand

This commit is contained in:
Camilla Berglund
2016-07-20 12:52:06 +02:00
parent 52d801bd19
commit d5e00e6b0f
14 changed files with 28 additions and 17 deletions
-4
View File
@@ -765,13 +765,9 @@ int _glfwPlatformInit(void)
if (!_glfwInitThreadLocalStoragePOSIX())
return GLFW_FALSE;
if (!_glfwInitGLX())
return GLFW_FALSE;
if (!_glfwInitJoysticksLinux())
return GLFW_FALSE;
_glfwInitEGL();
_glfwInitTimerPOSIX();
return GLFW_TRUE;