Mercurial > sdl-ios-xcode
diff src/video/SDL_sysvideo.h @ 3427:36cf454ba065
Work in progress on implementation of SDL_RenderReadPixels() and SDL_RenderWritePixels(), code untested.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 09 Nov 2009 05:20:11 +0000 |
parents | 64a60c5d502e |
children | 9f62f47d989b |
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h Mon Nov 09 04:13:51 2009 +0000 +++ b/src/video/SDL_sysvideo.h Mon Nov 09 05:20:11 2009 +0000 @@ -96,6 +96,10 @@ int (*RenderFill) (SDL_Renderer * renderer, const SDL_Rect * rect); int (*RenderCopy) (SDL_Renderer * renderer, SDL_Texture * texture, const SDL_Rect * srcrect, const SDL_Rect * dstrect); + int (*RenderReadPixels) (SDL_Renderer * renderer, const SDL_Rect * rect, + void * pixels, int pitch); + int (*RenderWritePixels) (SDL_Renderer * renderer, const SDL_Rect * rect, + const void * pixels, int pitch); void (*RenderPresent) (SDL_Renderer * renderer); void (*DestroyTexture) (SDL_Renderer * renderer, SDL_Texture * texture);