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 - Buggy OpenGL Init/Quit in SDL (with Mesa)
Summary: Buggy OpenGL Init/Quit in SDL (with Mesa)
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: don't know
Hardware: x86 Other
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-24 00:27 UTC by Sam Lantinga
Modified: 2006-03-19 03:14 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.