Bug 16073 - Can't choose FB config with 0 for GLX_SAMPLES_ARB
Summary: Can't choose FB config with 0 for GLX_SAMPLES_ARB
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLX (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-23 03:02 UTC by Neil Roberts
Modified: 2008-05-27 08:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to fix (1.01 KB, patch)
2008-05-23 03:02 UTC, Neil Roberts
Details | Splinter Review

Description Neil Roberts 2008-05-23 03:02:30 UTC
Created attachment 16704 [details] [review]
Patch to fix

When calling glXChooseFBConfig it will return NULL if you give any value for the GLX_SAMPLE_BUFFERS_ARB or GLX_SAMPLES_ARB attributes. Even though multisampling isn't supported, could it accept zero for these attributes as in the attached patch?

The PowerVR Insider simulator for OpenGL ES 2 does exactly that and so it can't be used with Mesa without the patch.
Comment 1 Brian Paul 2008-05-27 08:49:40 UTC
Fixed in git.  Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.