include/SDL_render.h
changeset 5157 657543cc92f9
parent 5156 307ccc9c135e
child 5158 b3ccd1947786
--- a/include/SDL_render.h	Thu Feb 03 00:19:40 2011 -0800
+++ b/include/SDL_render.h	Thu Feb 03 00:22:18 2011 -0800
@@ -527,26 +527,6 @@
                                                  void *pixels, int pitch);
 
 /**
- *  \brief Write pixels to the current rendering target.
- *  
- *  \param rect   A pointer to the rectangle to write, or NULL for the entire 
- *                render target.
- *  \param format The format of the pixel data, or 0 to use the format
- *                of the rendering target
- *  \param pixels A pointer to the pixel data to write.
- *  \param pitch  The pitch of the pixels parameter.
- *  
- *  \return 0 on success, or -1 if pixel writing is not supported.
- *  
- *  \warning This is a very slow operation, and should not be used frequently.
- */
-extern DECLSPEC int SDLCALL SDL_RenderWritePixels(SDL_Renderer * renderer,
-                                                  const SDL_Rect * rect,
-                                                  Uint32 format,
-                                                  const void *pixels,
-                                                  int pitch);
-
-/**
  *  \brief Update the screen with rendering performed.
  */
 extern DECLSPEC void SDLCALL SDL_RenderPresent(SDL_Renderer * renderer);