SDL_GLContext Android_GL_CreateContext(_THIS, SDL_Window * window) { if (!Android_JNI_CreateContext(_this->gl_config.major_version, _this->gl_config.minor_version, _this->gl_config.red_size, _this->gl_config.green_size, _this->gl_config.blue_size, _this->gl_config.alpha_size, _this->gl_config.buffer_size, _this->gl_config.depth_size, _this->gl_config.stencil_size, _this->gl_config.multisamplebuffers, _this->gl_config.multisamplesamples)) { SDL_SetError("Couldn't create OpenGL context - see Android log for details"); return NULL; } return (SDL_GLContext)1; }
SDL_GLContext Android_GL_CreateContext(_THIS, SDL_Window * window) { Android_JNI_CreateContext(); return 1; }