src/video/svga/SDL_svgavideo.h
changeset 205 13161d3d349d
parent 0 74212992fb08
child 252 e8157fcb3114
equal deleted inserted replaced
204:62bad9a82022 205:13161d3d349d
    38 struct SDL_PrivateVideoData {
    38 struct SDL_PrivateVideoData {
    39 #define NUM_MODELISTS	4		/* 8, 16, 24, and 32 bits-per-pixel */
    39 #define NUM_MODELISTS	4		/* 8, 16, 24, and 32 bits-per-pixel */
    40 	int SDL_nummodes[NUM_MODELISTS];
    40 	int SDL_nummodes[NUM_MODELISTS];
    41 	SDL_Rect **SDL_modelist[NUM_MODELISTS];
    41 	SDL_Rect **SDL_modelist[NUM_MODELISTS];
    42 	int *SDL_vgamode[NUM_MODELISTS];
    42 	int *SDL_vgamode[NUM_MODELISTS];
       
    43 
       
    44 	/* information for double-buffering */
       
    45 	int flip_page;
       
    46 	int flip_offset[2];
       
    47 	Uint8 *flip_address[2];
    43 };
    48 };
    44 /* Old variable names */
    49 /* Old variable names */
    45 #define SDL_nummodes		(this->hidden->SDL_nummodes)
    50 #define SDL_nummodes		(this->hidden->SDL_nummodes)
    46 #define SDL_modelist		(this->hidden->SDL_modelist)
    51 #define SDL_modelist		(this->hidden->SDL_modelist)
    47 #define SDL_vgamode		(this->hidden->SDL_vgamode)
    52 #define SDL_vgamode		(this->hidden->SDL_vgamode)
       
    53 #define flip_page		(this->hidden->flip_page)
       
    54 #define flip_offset		(this->hidden->flip_offset)
       
    55 #define flip_address		(this->hidden->flip_address)
    48 
    56 
    49 #endif /* _SDL_svgavideo_h */
    57 #endif /* _SDL_svgavideo_h */
       
    58