SDL_GL_LoadLibrary() was returning 1, and not 0, to signify "success" on the
authorRyan C. Gordon
Sun, 20 Nov 2005 23:59:26 +0000
changeset 1177e967ab22e6fd
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
     1.1 --- a/src/video/quartz/SDL_QuartzGL.m	Sat Nov 19 18:57:00 2005 +0000
     1.2 +++ b/src/video/quartz/SDL_QuartzGL.m	Sun Nov 20 23:59:26 2005 +0000
     1.3 @@ -169,7 +169,7 @@
     1.4  
     1.5  int    QZ_GL_LoadLibrary    (_THIS, const char *location) {
     1.6      this->gl_config.driver_loaded = 1;
     1.7 -    return 1;
     1.8 +    return 0;
     1.9  }
    1.10  
    1.11  void*  QZ_GL_GetProcAddress (_THIS, const char *proc) {