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
+3
View File
@@ -424,6 +424,9 @@ static void loadWGLExtensions(void)
//
GLFWbool _glfwInitWGL(void)
{
if (_glfw.wgl.instance)
return GLFW_TRUE;
_glfw.wgl.instance = LoadLibraryA("opengl32.dll");
if (!_glfw.wgl.instance)
{