Mercurial > sdl-ios-xcode
comparison src/video/quartz/SDL_QuartzGL.m @ 1177:e967ab22e6fd
SDL_GL_LoadLibrary() was returning 1, and not 0, to signify "success" on the
Quartz target...fixed this to match the documented behaviour.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 20 Nov 2005 23:59:26 +0000 |
parents | 72c6c3e5bb85 |
children | 49d3efec6651 |
comparison
equal
deleted
inserted
replaced
1176:dd2a8deeb26d | 1177:e967ab22e6fd |
---|---|
167 | 167 |
168 /* SDL OpenGL functions */ | 168 /* SDL OpenGL functions */ |
169 | 169 |
170 int QZ_GL_LoadLibrary (_THIS, const char *location) { | 170 int QZ_GL_LoadLibrary (_THIS, const char *location) { |
171 this->gl_config.driver_loaded = 1; | 171 this->gl_config.driver_loaded = 1; |
172 return 1; | 172 return 0; |
173 } | 173 } |
174 | 174 |
175 void* QZ_GL_GetProcAddress (_THIS, const char *proc) { | 175 void* QZ_GL_GetProcAddress (_THIS, const char *proc) { |
176 | 176 |
177 /* We may want to cache the bundleRef at some point */ | 177 /* We may want to cache the bundleRef at some point */ |