include/SDL_render.h
changeset 5528 15c9c03a80cc
parent 5486 a036736283ef
child 5535 96594ac5fd1a
--- a/include/SDL_render.h	Sun Apr 03 18:33:32 2011 -0500
+++ b/include/SDL_render.h	Mon Apr 04 09:29:13 2011 -0700
@@ -175,6 +175,11 @@
 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,