mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 20:11:58 +00:00
Added reporting of unlikely WGL extension error.
This commit is contained in:
parent
c21a8573b4
commit
135be952fe
@ -133,7 +133,9 @@ static int getPixelFormatAttrib(_GLFWwindow* window, int pixelFormat, int attrib
|
|||||||
pixelFormat,
|
pixelFormat,
|
||||||
0, 1, &attrib, &value))
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user