src/video/x11/SDL_x11opengles.c
changeset 6791 c19c5232439d
parent 6522 edacce9402fb
child 6817 93103b719488
equal deleted inserted replaced
6790:475f0a544157 6791:c19c5232439d
   319         EGL_NONE
   319         EGL_NONE
   320     };
   320     };
   321 
   321 
   322     SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
   322     SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
   323     Display *display = data->videodata->display;
   323     Display *display = data->videodata->display;
   324     SDL_GLContext context = 1;
   324     SDL_GLContext context = (SDL_GLContext)1;
   325 
   325 
   326     XSync(display, False);
   326     XSync(display, False);
   327 
   327 
   328     if (_this->gl_config.major_version) {
   328     if (_this->gl_config.major_version) {
   329         context_attrib_list[1] = _this->gl_config.major_version;
   329         context_attrib_list[1] = _this->gl_config.major_version;