src/video/x11/SDL_x11opengl.c
changeset 9459 f5b468964b0b
parent 9458 543298b36b28
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9458:543298b36b28 9459:f5b468964b0b
   472         attribs[i++] = _this->gl_config.multisamplesamples;
   472         attribs[i++] = _this->gl_config.multisamplesamples;
   473     }
   473     }
   474 
   474 
   475     if (_this->gl_config.framebuffer_srgb_capable) {
   475     if (_this->gl_config.framebuffer_srgb_capable) {
   476         attribs[i++] = GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB;
   476         attribs[i++] = GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB;
   477         if( for_FBConfig ) {
   477         attribs[i++] = True;  /* always needed, for_FBConfig or not! */
   478             attribs[i++] = True;
       
   479         }
       
   480     }
   478     }
   481 
   479 
   482     if (_this->gl_config.accelerated >= 0 &&
   480     if (_this->gl_config.accelerated >= 0 &&
   483         _this->gl_data->HAS_GLX_EXT_visual_rating) {
   481         _this->gl_data->HAS_GLX_EXT_visual_rating) {
   484         attribs[i++] = GLX_VISUAL_CAVEAT_EXT;
   482         attribs[i++] = GLX_VISUAL_CAVEAT_EXT;