src/video/android/SDL_androidgl.c
changeset 6792 a15821a3471f
parent 6138 4c64952a58fb
child 6885 700f1b25f77f
     1.1 --- a/src/video/android/SDL_androidgl.c	Mon Dec 31 14:14:01 2012 -0800
     1.2 +++ b/src/video/android/SDL_androidgl.c	Mon Dec 31 14:57:36 2012 -0800
     1.3 @@ -74,7 +74,16 @@
     1.4  Android_GL_CreateContext(_THIS, SDL_Window * window)
     1.5  {
     1.6      if (!Android_JNI_CreateContext(_this->gl_config.major_version,
     1.7 -                                   _this->gl_config.minor_version)) {
     1.8 +                                   _this->gl_config.minor_version,
     1.9 +                                   _this->gl_config.red_size,
    1.10 +                                   _this->gl_config.green_size,
    1.11 +                                   _this->gl_config.blue_size,
    1.12 +                                   _this->gl_config.alpha_size,
    1.13 +                                   _this->gl_config.buffer_size,
    1.14 +                                   _this->gl_config.depth_size,
    1.15 +                                   _this->gl_config.stencil_size,
    1.16 +                                   _this->gl_config.multisamplebuffers,
    1.17 +                                   _this->gl_config.multisamplesamples)) {
    1.18          SDL_SetError("Couldn't create OpenGL context - see Android log for details");
    1.19          return NULL;
    1.20      }