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 - Missing error message for GL_LoadObject
Summary: Missing error message for GL_LoadObject
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: loadso (show other bugs)
Version: 1.2.11
Hardware: x86 OpenBSD
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-02 14:02 UTC by Brad Davis
Modified: 2007-01-15 00:22 UTC (History)
0 users

See Also:


Attachments

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