include/SDL_render.h
changeset 7240 39eb4958950a
parent 7239 04dda95ba22c
child 7542 399ff49069a5
equal deleted inserted replaced
7239:04dda95ba22c 7240:39eb4958950a
   479  *
   479  *
   480  *  The x,y of the viewport rect represents the origin for rendering.
   480  *  The x,y of the viewport rect represents the origin for rendering.
   481  *
   481  *
   482  *  \return 0 on success, or -1 on error
   482  *  \return 0 on success, or -1 on error
   483  *
   483  *
   484  *  \note When the window is resized, the current viewport is automatically
   484  *  \note If the window associated with the renderer is resized, the viewport is automatically reset.
   485  *        centered within the new window size.
       
   486  *
   485  *
   487  *  \sa SDL_RenderGetViewport()
   486  *  \sa SDL_RenderGetViewport()
   488  *  \sa SDL_RenderSetLogicalSize()
   487  *  \sa SDL_RenderSetLogicalSize()
   489  */
   488  */
   490 extern DECLSPEC int SDLCALL SDL_RenderSetViewport(SDL_Renderer * renderer,
   489 extern DECLSPEC int SDLCALL SDL_RenderSetViewport(SDL_Renderer * renderer,