Mercurial > sdl-ios-xcode
diff include/SDL_video.h @ 5145:c8e049de174c
Making the API simpler, the renderer present semantics are always having a backbuffer and then discarding it. This is best for hardware accelerated rendering.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 01 Feb 2011 12:19:46 -0800 |
parents | 31e7f523ab3d |
children | b52793134276 |
line wrap: on
line diff
--- a/include/SDL_video.h Mon Jan 31 23:37:30 2011 -0800 +++ b/include/SDL_video.h Tue Feb 01 12:19:46 2011 -0800 @@ -151,33 +151,12 @@ */ typedef enum { - SDL_RENDERER_SINGLEBUFFER = 0x00000001, /**< Render directly to the - window, if possible */ - - SDL_RENDERER_PRESENTCOPY = 0x00000002, /**< Present uses a copy from - back buffer to the front - buffer */ - - SDL_RENDERER_PRESENTFLIP2 = 0x00000004, /**< Present uses a flip, - swapping back buffer and - front buffer */ - - SDL_RENDERER_PRESENTFLIP3 = 0x00000008, /**< Present uses a flip, - rotating between two back - buffers and a front buffer - */ - - SDL_RENDERER_PRESENTDISCARD = 0x00000010, /**< Present leaves the contents - of the backbuffer undefined - */ - SDL_RENDERER_PRESENTVSYNC = 0x00000020, /**< Present is synchronized with the refresh rate */ SDL_RENDERER_ACCELERATED = 0x00000040 /**< The renderer uses hardware acceleration */ - - } SDL_RendererFlags; +} SDL_RendererFlags; /** * \brief Information on the capabilities of a render driver or context.