From 5da6a903f9a533063a77400b0a8873d5c9753f99 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 12 Jun 2013 23:08:01 +0200 Subject: [PATCH] Fixed MinGW warning. --- src/wgl_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;