https://bugs.freedesktop.org/show_bug.cgi?id=100668
Bug ID: 100668
Summary: No pixel formats with WGL_SWAP_UNDEFINED_ARB &&
WGL_DOUBLE_BUFFER_ARB=true
Product: Mesa
Version: 17.0
Hardware: x86 (IA32)
OS: Windows (All)
Status: NEW
Severity: major
Priority: medium
Component: Mesa core
Assignee: mesa-dev@lists.freedesktop.org
Reporter: genpfa...@gmail.com
QA Contact: mesa-dev@lists.freedesktop.org
I'm using llvmpipe on Windows 7 x64, though LLVM & Mesa are built for 32-bit.
Requesting WGL_SWAP_UNDEFINED_ARB or WGL_SWAP_COPY_ARB in conjunction with
WGL_DOUBLE_BUFFER_ARB = TRUE results in wglChoosePixelFormatARB() returning
zero supported pixel formats.
These attributes work:
int pixel_attributes[] =
{
WGL_SUPPORT_OPENGL_ARB, TRUE,
WGL_DOUBLE_BUFFER_ARB, TRUE,
0
};
These do not:
int pixel_attributes[] =
{
WGL_SUPPORT_OPENGL_ARB, TRUE,
WGL_DOUBLE_BUFFER_ARB, TRUE,
WGL_SWAP_METHOD_ARB, WGL_SWAP_UNDEFINED_ARB,
0
};
This is causing ANGLE to fail to get a valid pixel format when using Mesa as
its OpenGL backend:
https://chromium.googlesource.com/angle/angle.git/+/master/src/libANGLE/renderer/gl/wgl/wgl_utils.cpp#35
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev