Mercurial > sdl-ios-xcode
diff include/SDL_render.h @ 5160:657543cc92f9
Making the API simpler, removed the writepixels interface
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 03 Feb 2011 00:22:18 -0800 |
parents | 307ccc9c135e |
children | b3ccd1947786 |
line wrap: on
line diff
--- 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);