src/video/x11/SDL_x11opengl.c
changeset 10690 23a825f341e6
parent 10615 f85f1e6d857c
child 10737 3406a0f8b041
equal deleted inserted replaced
10689:69d6c1c7a2bf 10690:23a825f341e6
   781     } else {
   781     } else {
   782         return swapinterval;
   782         return swapinterval;
   783     }
   783     }
   784 }
   784 }
   785 
   785 
   786 void
   786 int
   787 X11_GL_SwapWindow(_THIS, SDL_Window * window)
   787 X11_GL_SwapWindow(_THIS, SDL_Window * window)
   788 {
   788 {
   789     SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
   789     SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
   790     Display *display = data->videodata->display;
   790     Display *display = data->videodata->display;
   791 
   791 
   792     _this->gl_data->glXSwapBuffers(display, data->xwindow);
   792     _this->gl_data->glXSwapBuffers(display, data->xwindow);
       
   793     return 0;
   793 }
   794 }
   794 
   795 
   795 void
   796 void
   796 X11_GL_DeleteContext(_THIS, SDL_GLContext context)
   797 X11_GL_DeleteContext(_THIS, SDL_GLContext context)
   797 {
   798 {