Mercurial > sdl-ios-xcode
diff src/video/vgl/SDL_vglvideo.h @ 1895:c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 10 Jul 2006 21:04:37 +0000 |
parents | d910939febfa |
children | 99210400e8b9 |
line wrap: on
line diff
--- a/src/video/vgl/SDL_vglvideo.h Thu Jul 06 18:01:37 2006 +0000 +++ b/src/video/vgl/SDL_vglvideo.h Mon Jul 10 21:04:37 2006 +0000 @@ -35,24 +35,26 @@ /* Hidden "this" pointer for the video functions */ #define _THIS SDL_VideoDevice *this -typedef struct { - int ModeId; - int Depth; - int Rmask; - int Gmask; - int Bmask; - VGLBitmap ModeInfo; +typedef struct +{ + int ModeId; + int Depth; + int Rmask; + int Gmask; + int Bmask; + VGLBitmap ModeInfo; } VGLMode; /* Private display data */ -struct SDL_PrivateVideoData { -#define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ - int SDL_nummodes[NUM_MODELISTS]; - SDL_Rect **SDL_modelist[NUM_MODELISTS]; - SDL_mutex *hw_lock; - VGLMode *VGLCurMode; - int flip_page; - byte *flip_address[2]; +struct SDL_PrivateVideoData +{ +#define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ + int SDL_nummodes[NUM_MODELISTS]; + SDL_Rect **SDL_modelist[NUM_MODELISTS]; + SDL_mutex *hw_lock; + VGLMode *VGLCurMode; + int flip_page; + byte *flip_address[2]; }; /* Old variable names */ #define SDL_nummodes (this->hidden->SDL_nummodes) @@ -63,3 +65,4 @@ #define flip_address (this->hidden->flip_address) #endif /* _SDL_vglvideo_h */ +/* vi: set ts=4 sw=4 expandtab: */