diff --git a/src/win32/win32_window.c b/src/win32/win32_window.c index efd5c18e..3d3058c0 100644 --- a/src/win32/win32_window.c +++ b/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 =