diff --git a/src/wgl_context.c b/src/wgl_context.c index c283e99f..d98ba063 100644 --- a/src/wgl_context.c +++ b/src/wgl_context.c @@ -328,7 +328,7 @@ int _glfwCreateContext(_GLFWwindow* window, const _GLFWfbconfig* fbconfig) { int attribs[40]; - int pixelFormat; + int pixelFormat = 0; PIXELFORMATDESCRIPTOR pfd; HGLRC share = NULL;