Commit 3746025d authored by Sam Lantinga's avatar Sam Lantinga

Allow the application to explicitly request a software renderer.

parent baf813b8
......@@ -63,9 +63,10 @@ extern "C" {
*/
typedef enum
{
SDL_RENDERER_ACCELERATED = 0x00000001, /**< The renderer uses hardware
SDL_RENDERER_SOFTWARE = 0x00000001, /**< The renderer is a software fallback */
SDL_RENDERER_ACCELERATED = 0x00000002, /**< The renderer uses hardware
acceleration */
SDL_RENDERER_PRESENTVSYNC = 0x00000002 /**< Present is synchronized
SDL_RENDERER_PRESENTVSYNC = 0x00000004 /**< Present is synchronized
with the refresh rate */
} SDL_RendererFlags;
......
......@@ -72,7 +72,7 @@ SDL_RenderDriver SW_RenderDriver = {
SW_CreateRenderer,
{
"software",
0,
SDL_RENDERER_SOFTWARE,
8,
{
SDL_PIXELFORMAT_RGB555,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment