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 355

Summary: Missing error message for GL_LoadObject
Product: SDL Reporter: Brad Davis <bdavis>
Component: loadsoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.11   
Hardware: x86   
OS: OpenBSD   

Description Brad Davis 2006-11-02 14:02:11 UTC
When OPENGL_REQUIRS_DLOPEN and SDL_LOADSO_DLOPEN are defined GL_LoadObject is a direct call to dlopen().  If dlopen() fails, no message is set since SDL_SetError() isn't called (comment in code states that SDL_LoadObject() will call SDL_SetError()).  A call to SDL_SetError() should be #ifdef'd in.
Comment 1 Patrice Mandin 2007-01-14 09:25:17 UTC
Fixed in svn for SDL 1.2.x
Comment 2 Ryan C. Gordon 2007-01-15 00:22:21 UTC
Does this need to be merged into 1.3?

--ryan.