include/SDL_video.h
changeset 7752 0947d51f3d1d
parent 7746 6a05d7352575
child 7769 cf8dd3177612
equal deleted inserted replaced
7751:2f679aa69aea 7752:0947d51f3d1d
   902 extern DECLSPEC SDL_GLContext SDLCALL SDL_GL_GetCurrentContext(void);
   902 extern DECLSPEC SDL_GLContext SDLCALL SDL_GL_GetCurrentContext(void);
   903 
   903 
   904 /**
   904 /**
   905  *  \brief Get the size of a window's underlying drawable (for use with glViewport).
   905  *  \brief Get the size of a window's underlying drawable (for use with glViewport).
   906  *
   906  *
       
   907  *  \param window   Window from which the drawable size should be queried
   907  *  \param w        Pointer to variable for storing the width, may be NULL
   908  *  \param w        Pointer to variable for storing the width, may be NULL
   908  *  \param h        Pointer to variable for storing the height, may be NULL
   909  *  \param h        Pointer to variable for storing the height, may be NULL
   909  *
   910  *
   910  * This may differ from SDL_GetWindowSize if we're rendering to a high-DPI
   911  * This may differ from SDL_GetWindowSize if we're rendering to a high-DPI
   911  * drawable, i.e. the window was created with SDL_WINDOW_ALLOW_HIGHDPI on a
   912  * drawable, i.e. the window was created with SDL_WINDOW_ALLOW_HIGHDPI on a