SDL_GL_LoadLibrary() was returning 1, and not 0, to signify "success" on the
authorRyan C. Gordon <icculus@icculus.org>
Sun, 20 Nov 2005 23:59:26 +0000
changeset 1177 e967ab22e6fd
parent 1176 dd2a8deeb26d
child 1178 9867f3d86e44
SDL_GL_LoadLibrary() was returning 1, and not 0, to signify "success" on the Quartz target...fixed this to match the documented behaviour.
src/video/quartz/SDL_QuartzGL.m
--- a/src/video/quartz/SDL_QuartzGL.m	Sat Nov 19 18:57:00 2005 +0000
+++ b/src/video/quartz/SDL_QuartzGL.m	Sun Nov 20 23:59:26 2005 +0000
@@ -169,7 +169,7 @@
 
 int    QZ_GL_LoadLibrary    (_THIS, const char *location) {
     this->gl_config.driver_loaded = 1;
-    return 1;
+    return 0;
 }
 
 void*  QZ_GL_GetProcAddress (_THIS, const char *proc) {