Mercurial > sdl-ios-xcode
diff src/video/svga/SDL_svgavideo.h @ 205:13161d3d349d
Added double-buffering support for SVGAlib (thanks Kutak!)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 14 Oct 2001 19:49:02 +0000 |
parents | 74212992fb08 |
children | e8157fcb3114 |
line wrap: on
line diff
--- a/src/video/svga/SDL_svgavideo.h Mon Oct 08 18:54:06 2001 +0000 +++ b/src/video/svga/SDL_svgavideo.h Sun Oct 14 19:49:02 2001 +0000 @@ -40,10 +40,19 @@ int SDL_nummodes[NUM_MODELISTS]; SDL_Rect **SDL_modelist[NUM_MODELISTS]; int *SDL_vgamode[NUM_MODELISTS]; + + /* information for double-buffering */ + int flip_page; + int flip_offset[2]; + Uint8 *flip_address[2]; }; /* Old variable names */ #define SDL_nummodes (this->hidden->SDL_nummodes) #define SDL_modelist (this->hidden->SDL_modelist) #define SDL_vgamode (this->hidden->SDL_vgamode) +#define flip_page (this->hidden->flip_page) +#define flip_offset (this->hidden->flip_offset) +#define flip_address (this->hidden->flip_address) #endif /* _SDL_svgavideo_h */ +