WGL: Unify query error handling
diff --git a/src/wgl_context.c b/src/wgl_context.c
index ad1ffa5..b3e0303 100644
--- a/src/wgl_context.c
+++ b/src/wgl_context.c
@@ -215,7 +215,11 @@
                                      sizeof(PIXELFORMATDESCRIPTOR),
                                      &pfd))
             {
-                continue;
+                _glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
+                                    "WGL: Failed to describe pixel format");
+
+                free(usableConfigs);
+                return 0;
             }
 
             if (!(pfd.dwFlags & PFD_DRAW_TO_WINDOW) ||