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 4551

Summary: [Feature Request] id's SDL_GL_DisableContext and SDL_GL_EnableContext_Thread functions
Product: sdl12-compat Reporter: REA <rea_987>
Component: everythingAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2 CC: rea_987
Version: unspecified   
Hardware: x86_64   
OS: Linux   

Description REA 2019-03-13 18:14:43 UTC
Greetings,

Some id Tech 4 games such as Quake 4 and Enemy Territory: Quake Wars use custom SDL functions named SDL_GL_DisableContext and SDL_GL_EnableContext_Thread to enable threaded renderer. As the patch available for those functions, can they be added into sdl12-compat, please? Thank you.

Patch:
https://github.com/liflg/etqw_1.5-multilingual_x86/blob/master/data/sdl.1.2.12.patch

Original library:
https://github.com/liflg/etqw_1.5-multilingual_x86/blob/master/data/libSDL-1.2.id.so.0

SDLCL and related topic:
https://github.com/MrAlert/sdlcl/issues/14
https://github.com/MrAlert/sdlcl/
Comment 1 Ryan C. Gordon 2019-03-22 14:55:09 UTC
I added these in https://hg.libsdl.org/sdl12-compat/rev/ea2ce36617d5, but these are untested; please reopen this bug if I screwed this up.  :)

--ryan.