| | |
| | | SDL_RendererInfo * info); |
| | | |
| | | /** |
| | | * \brief Get the output size of a rendering context. |
| | | */ |
| | | extern DECLSPEC int SDLCALL SDL_GetRendererOutputSize(SDL_Renderer * renderer, |
| | | int *w, int *h); |
| | | |
| | | /** |
| | | * \brief Create a texture for a rendering context. |
| | | * |
| | | * \param renderer The renderer. |
| | |
| | | * |
| | | * \return 0 on success, or -1 on error |
| | | * |
| | | * \note When the window is resized, the current viewport is automatically |
| | | * centered within the new window size. |
| | | * \note If the window associated with the renderer is resized, the viewport is automatically reset. |
| | | * |
| | | * \sa SDL_RenderGetViewport() |
| | | * \sa SDL_RenderSetLogicalSize() |