diff options
author | Sam Lantinga <slouken@libsdl.org> | 2011-04-04 09:29:13 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2011-04-04 09:29:13 -0700 |
commit | a46d9b6758352542b9c84589d49d694a01649e3f (patch) | |
tree | b01e64b36ee66a0e4f76fe6358f5c86afee7e011 /include/SDL_render.h | |
parent | 15688a42c42d685c42c0dfd9873ff4be4c696bb8 (diff) |
Added SDL_GetRenderer()
Diffstat (limited to 'include/SDL_render.h')
-rw-r--r-- | include/SDL_render.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/SDL_render.h b/include/SDL_render.h index 4ae23a17f7..15cb173bb8 100644 --- a/include/SDL_render.h +++ b/include/SDL_render.h @@ -175,6 +175,11 @@ extern DECLSPEC SDL_Renderer * SDLCALL SDL_CreateRenderer(SDL_Window * window, extern DECLSPEC SDL_Renderer * SDLCALL SDL_CreateSoftwareRenderer(SDL_Surface * surface); /** + * \brief Get the renderer associated with a window. + */ +extern DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window * window); + +/** * \brief Get information about a rendering context. */ extern DECLSPEC int SDLCALL SDL_GetRendererInfo(SDL_Renderer * renderer, |