src/video/x11/SDL_x11opengl.c
changeset 6359 b2a768065c32
parent 6296 b42657486c0d
child 6360 efd48af40ec3
equal deleted inserted replaced
6358:50fd16f3c975 6359:b2a768065c32
   422 {
   422 {
   423     XVisualInfo *vinfo;
   423     XVisualInfo *vinfo;
   424 
   424 
   425     /* 64 seems nice. */
   425     /* 64 seems nice. */
   426     int attribs[64];
   426     int attribs[64];
   427     int i = X11_GL_GetAttributes(_this,display,screen,attribs,64,SDL_FALSE);
   427     X11_GL_GetAttributes(_this,display,screen,attribs,64,SDL_FALSE);
   428 
   428 
   429     if (!_this->gl_data) {
   429     if (!_this->gl_data) {
   430         /* The OpenGL library wasn't loaded, SDL_GetError() should have info */
   430         /* The OpenGL library wasn't loaded, SDL_GetError() should have info */
   431         return NULL;
   431         return NULL;
   432     }
   432     }