Commit ec3784f3 authored by Camilla Löwy's avatar Camilla Löwy
Browse files

WGL: Unify query error handling

parent 782f7fe0
......@@ -215,7 +215,11 @@ static int choosePixelFormat(_GLFWwindow* window,
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) ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment