Added reporting of unlikely WGL extension error.

This commit is contained in:
Camilla Berglund 2015-04-07 02:34:40 +02:00
parent c21a8573b4
commit 135be952fe

View File

@ -133,7 +133,9 @@ static int getPixelFormatAttrib(_GLFWwindow* window, int pixelFormat, int attrib
pixelFormat,
0, 1, &attrib, &value))
{
// NOTE: We should probably handle this error somehow
_glfwInputError(GLFW_PLATFORM_ERROR,
"WGL: Failed to retrieve pixel format attribute %i",
attrib);
return 0;
}