Mercurial > sdl-ios-xcode
diff src/video/macdsp/SDL_dspvideo.h @ 1662:782fd950bd46 SDL-1.3
Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API.
WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid.
The code is now run through a consistent indent format:
indent -i4 -nut -nsc -br -ce
The headers are being converted to automatically generate doxygen documentation.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 28 May 2006 13:04:16 +0000 |
parents | 7a610f25c12f |
children |
line wrap: on
line diff
--- a/src/video/macdsp/SDL_dspvideo.h Sun May 21 17:27:13 2006 +0000 +++ b/src/video/macdsp/SDL_dspvideo.h Sun May 28 13:04:16 2006 +0000 @@ -25,7 +25,7 @@ #define _SDL_dspvideo_h #if TARGET_API_MAC_OSX -# include <DrawSprocket/DrawSprocket.h> /* Drawsprocket.framework */ +# include <DrawSprocket/DrawSprocket.h> /* Drawsprocket.framework */ #else #include <DrawSprocket.h> #endif @@ -33,17 +33,18 @@ #include "../maccommon/SDL_lowvideo.h" /* DrawSprocket specific information */ -struct DSpInfo { - DSpContextReference dsp_context; - CGrafPtr dsp_back_buffer; - int dsp_old_depth; - - /* Flags for hw acceleration */ - int dsp_vram_available; - int dsp_agp_available; - - -}; +struct DSpInfo +{ + DSpContextReference dsp_context; + CGrafPtr dsp_back_buffer; + int dsp_old_depth; + + /* Flags for hw acceleration */ + int dsp_vram_available; + int dsp_agp_available; + + +}; /* Old variable names */ #define dsp_context (this->hidden->dspinfo->dsp_context) #define dsp_back_buffer (this->hidden->dspinfo->dsp_back_buffer) @@ -52,3 +53,4 @@ #define dsp_agp_available (this->hidden->dspinfo->dsp_agp_available) #endif /* _SDL_dspvideo_h */ +/* vi: set ts=4 sw=4 expandtab: */