diff options
author | Sam Lantinga <slouken@libsdl.org> | 2012-01-19 21:06:47 -0500 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2012-01-19 21:06:47 -0500 |
commit | 69c5324cd7f2f53f832eac2085af1a5bc28dae10 (patch) | |
tree | 646710464a575b716a603e789ac8b4f9455505c7 /include/SDL_render.h | |
parent | d535ee17b0d518dc886d77cc80d765739a32cc60 (diff) |
Added a renderer flag to expose whether a renderer supports render to texture.
Diffstat (limited to 'include/SDL_render.h')
-rw-r--r-- | include/SDL_render.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/SDL_render.h b/include/SDL_render.h index 51b641b6..416f4c80 100644 --- a/include/SDL_render.h +++ b/include/SDL_render.h @@ -65,8 +65,10 @@ typedef enum SDL_RENDERER_SOFTWARE = 0x00000001, /**< The renderer is a software fallback */ SDL_RENDERER_ACCELERATED = 0x00000002, /**< The renderer uses hardware acceleration */ - SDL_RENDERER_PRESENTVSYNC = 0x00000004 /**< Present is synchronized + SDL_RENDERER_PRESENTVSYNC = 0x00000004, /**< Present is synchronized with the refresh rate */ + SDL_RENDERER_TARGETTEXTURE = 0x00000008 /**< The renderer supports + rendering to texture */ } SDL_RendererFlags; /** |