src/video/x11/SDL_x11opengl.c
changeset 10690 23a825f341e6
parent 10615 f85f1e6d857c
child 10737 3406a0f8b041
     1.1 --- a/src/video/x11/SDL_x11opengl.c	Fri Dec 09 01:29:52 2016 -0800
     1.2 +++ b/src/video/x11/SDL_x11opengl.c	Fri Dec 09 01:47:43 2016 -0800
     1.3 @@ -783,13 +783,14 @@
     1.4      }
     1.5  }
     1.6  
     1.7 -void
     1.8 +int
     1.9  X11_GL_SwapWindow(_THIS, SDL_Window * window)
    1.10  {
    1.11      SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
    1.12      Display *display = data->videodata->display;
    1.13  
    1.14      _this->gl_data->glXSwapBuffers(display, data->xwindow);
    1.15 +    return 0;
    1.16  }
    1.17  
    1.18  void