Bug 16073

Summary: Can't choose FB config with 0 for GLX_SAMPLES_ARB
Product: Mesa Reporter: Neil Roberts <nroberts>
Component: GLXAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch to fix

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.