include/SDL_render.h
changeset 6248 7fe4b2b78acc
parent 6247 b6212690f78d
child 6258 fce7ce72677b
equal deleted inserted replaced
6247:b6212690f78d 6248:7fe4b2b78acc
   382 extern DECLSPEC SDL_bool SDLCALL SDL_RenderTargetSupported(SDL_Renderer *renderer);
   382 extern DECLSPEC SDL_bool SDLCALL SDL_RenderTargetSupported(SDL_Renderer *renderer);
   383 
   383 
   384 /**
   384 /**
   385  * \brief Set a texture as the current rendering target.
   385  * \brief Set a texture as the current rendering target.
   386  *
   386  *
   387  * \param texture The targeted texture, or NULL for the default render target
   387  * \param texture The targeted texture, which must be created with the SDL_TEXTUREACCESS_TARGET flag, or NULL for the default render target
   388  *
   388  *
   389  * \return 0 on success, or -1 on error
   389  * \return 0 on success, or -1 on error
   390  */
   390  */
   391 extern DECLSPEC int SDLCALL SDL_SetRenderTarget(SDL_Renderer *renderer,
   391 extern DECLSPEC int SDLCALL SDL_SetRenderTarget(SDL_Renderer *renderer,
   392                                                 SDL_Texture *texture);
   392                                                 SDL_Texture *texture);