mirror of
https://github.com/glfw/glfw.git
synced 2026-09-19 15:25:50 +00:00
Initialize context creation APIs on demand
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user