src/video/quartz/SDL_QuartzVideo.m
changeset 347 1b89c9ca9246
parent 324 f25f666d609a
child 359 f0e5198a1522
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;