We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 70

Summary: Buggy OpenGL Init/Quit in SDL (with Mesa)
Product: SDL Reporter: Sam Lantinga <slouken>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: marchesin
Version: don't know   
Hardware: x86   
OS: Other   

Description Sam Lantinga 2006-01-24 00:27:53 UTC
Date: Tue, 18 Mar 2003 17:52:57 +0200
From: Pasi K
Comment 1 Sam Lantinga 2006-01-24 00:28:38 UTC
From Brian Paul:
The glXReleaseBuffersMESA() function in DRI's libGL is just a no-op stub so
I'm not sure where the segfault is coming from.

I think it's clear that SDL should check the GLX extension string for
"GLX_MESA_release_buffers" and only call glXReleaseBuffersMESA() when the
extension is present.

-Brian
Comment 2 Ryan C. Gordon 2006-01-27 11:23:21 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 3 marchesin 2006-01-31 17:08:10 UTC
Btw, if you leave this code in, ExtensionSupported("glXReleaseBuffersMESA") is definitely wrong. ExtensionSupported looks at gl extensions (while this is glx) and the extension name is GLX_MESA_release_buffers, not glXReleaseBuffersMESA.
Comment 4 Sam Lantinga 2006-03-19 03:14:32 UTC
glXReleaseBuffersMESA has been removed.