include/SDL_video.h
changeset 7412 50211a1fd557
parent 7191 75360622e65f
child 7459 7c6bd424f819
     1.1 --- a/include/SDL_video.h	Fri Jul 12 01:26:43 2013 -0400
     1.2 +++ b/include/SDL_video.h	Thu Jul 11 22:59:20 2013 -0700
     1.3 @@ -890,6 +890,16 @@
     1.4                                                 SDL_GLContext context);
     1.5  
     1.6  /**
     1.7 + *  \brief Get the currently active OpenGL window.
     1.8 + */
     1.9 +extern DECLSPEC SDL_Window* SDLCALL SDL_GL_GetCurrentWindow(void);
    1.10 +
    1.11 +/**
    1.12 + *  \brief Get the currently active OpenGL context.
    1.13 + */
    1.14 +extern DECLSPEC SDL_GLContext SDLCALL SDL_GL_GetCurrentContext(void);
    1.15 +
    1.16 +/**
    1.17   *  \brief Set the swap interval for the current OpenGL context.
    1.18   *
    1.19   *  \param interval 0 for immediate updates, 1 for updates synchronized with the