Mercurial > sdl-ios-xcode
comparison src/video/quartz/SDL_QuartzVideo.m @ 347:1b89c9ca9246
Fixed build warning
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 13 Apr 2002 20:33:21 +0000 |
parents | f25f666d609a |
children | f0e5198a1522 |
comparison
equal
deleted
inserted
replaced
346:a18ea34d9efe | 347:1b89c9ca9246 |
---|---|
1206 return function; | 1206 return function; |
1207 } | 1207 } |
1208 | 1208 |
1209 static int QZ_GL_GetAttribute (_THIS, SDL_GLattr attrib, int* value) { | 1209 static int QZ_GL_GetAttribute (_THIS, SDL_GLattr attrib, int* value) { |
1210 | 1210 |
1211 GLenum attr; | 1211 GLenum attr = 0; |
1212 | 1212 |
1213 QZ_GL_MakeCurrent (this); | 1213 QZ_GL_MakeCurrent (this); |
1214 | 1214 |
1215 switch (attrib) { | 1215 switch (attrib) { |
1216 case SDL_GL_RED_SIZE: attr = GL_RED_BITS; break; | 1216 case SDL_GL_RED_SIZE: attr = GL_RED_BITS; break; |