Discard software pixel formats.

master
Camilla Berglund ago%!(EXTRA string=15 years)
parent 08d758ed42
commit ed31f1a670
  1. 7
      src/win32/win32_window.c

@ -216,6 +216,13 @@ static _GLFWfbconfig* getFBConfigs(_GLFWwindow* window, unsigned int* found)
continue;
}
// Only consider "hardware-accelerated" pixel formats
if (getPixelFormatAttrib(window, i, WGL_ACCELERATION_ARB) ==
WGL_NO_ACCELERATION_ARB)
{
continue;
}
result[*found].redBits =
getPixelFormatAttrib(window, i, WGL_RED_BITS_ARB);
result[*found].greenBits =

Loading…
Cancel
Save