Added reporting of unlikely WGL extension error.

master
Camilla Berglund ago%!(EXTRA string=10 years)
parent c21a8573b4
commit 135be952fe
  1. 4
      src/wgl_context.c

@ -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;
}

Loading…
Cancel
Save