| Summary: | Make SDL_GL_LoadLibrary() accept NULL. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ryan C. Gordon <icculus> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 1.2 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Ryan C. Gordon
2006-01-03 12:28:52 UTC
Date: Tue, 22 Nov 2005 03:52:15 -0500 From: "Ryan C. Gordon" <icculus@icculus.org> To: sdl@libsdl.org Subject: [SDL] GL on photon, gem, dc, cybergfx... As discussed earlier, we're changing SDL_GL_LoadLibrary() to explicitly consider NULL to mean "the most reasonable default library for the current platform" ... this means we won't have to hardcode every app to have: #if WINDOWS #define GLLIB "OPENGL32.DLL" #elif LINUX #define GLLIB "libGL.so.1" #elif MACOSX #define GLLIB "/System/Library/Frameworks/OpenGL.framework" #else #error please define your platform #endif lib = SDL_GL_LoadLibrary(GLLIB); However, I need to know WHAT the reasonable default is for the following platforms: photon gem/ataricommon dc (is there any real GL_LoadLibrary facility here?) cybergfx (is there any real GL_LoadLibrary facility here?) Thanks, --ryan. gem/ataricommon is apparently good to go. --ryan. Reinitiating nagging on the mailing list... --ryan. "dc" apparently just statically links (and ignores any input to SDL_GL_LoadLibrary()). --ryan. Oh, wait, looks like it's the same deal for cybergfx. --ryan. Sent Mike Gorchak email, hopefully he'll know about the photon driver. --ryan. Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL. --ryan. This is implemented in CVS. |