Mercurial > sdl-ios-xcode
diff src/video/SDL_sysvideo.h @ 292:eadc0746dfaf
Added SDL_LockRect() and SDL_UnlockRect()
Incorporated XFree86 extension libraries into the source
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 05 Mar 2002 19:55:32 +0000 |
parents | c5010ab8ba35 |
children | fab1ddc4d7bf |
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h Sat Mar 02 16:50:35 2002 +0000 +++ b/src/video/SDL_sysvideo.h Tue Mar 05 19:55:32 2002 +0000 @@ -153,6 +153,8 @@ /* Returns a readable/writable surface */ int (*LockHWSurface)(_THIS, SDL_Surface *surface); void (*UnlockHWSurface)(_THIS, SDL_Surface *surface); + int (*LockHWSurfaceRect)(_THIS, SDL_Surface *surface, SDL_Rect *rect, void **pixels, int *pitch); + void (*UnlockHWSurfaceRect)(_THIS, SDL_Surface *surface); /* Performs hardware flipping */ int (*FlipHWSurface)(_THIS, SDL_Surface *surface);