Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL_GL_SWAP_CONTROL fix for X11 #571

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

SDL_GL_SWAP_CONTROL fix for X11 #571

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: 1.2.14
Reported for operating system, platform: Linux, All

Comments on the original bug report:

On 2010-05-26 01:14:57 +0000, wrote:

Created attachment 509
Load glXSwapIntervalMESA/SGI using glXGetProcAddress

SDL_GL_SWAP_CONTROL is reported as unsupported under X11, even when it is.

The bug is due to (AFAICT) an implementation oversight in
video/x11/SDL_x11gl.c: it tries to load 'glXSwapIntervalMESA' or
'glXSwapIntervalSGI' dynamically from '/usr/lib/libGL.so.1', while it
should load them through 'glXGetProcAddressARB'.

The following tiny patch does just that. This allows people to make tearing-less scrolling.

On 2010-07-18 11:19:54 +0000, Sam Lantinga wrote:

This is fixed in revision 6f0706a60146, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant