| Summary: | SDL_GL_SWAP_CONTROL fix for X11 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | beuc |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | beuc |
| Version: | 1.2.14 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | Load glXSwapIntervalMESA/SGI using glXGetProcAddress | ||
This is fixed in revision 6f0706a60146, thanks! |
Created attachment 509 [details] 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.