mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-20 02:08:13 +00:00
Removed SDL_RENDERER_ACCELERATED and SDL_RENDERER_SOFTWARE
These flags are unnecessary and have always been a source of confusion.
This commit is contained in:
@@ -955,12 +955,6 @@ static void SDLTest_PrintButtonMask(char *text, size_t maxlen, Uint32 flags)
|
||||
static void SDLTest_PrintRendererFlag(char *text, size_t maxlen, Uint32 flag)
|
||||
{
|
||||
switch (flag) {
|
||||
case SDL_RENDERER_SOFTWARE:
|
||||
SDL_snprintfcat(text, maxlen, "Software");
|
||||
break;
|
||||
case SDL_RENDERER_ACCELERATED:
|
||||
SDL_snprintfcat(text, maxlen, "Accelerated");
|
||||
break;
|
||||
case SDL_RENDERER_PRESENTVSYNC:
|
||||
SDL_snprintfcat(text, maxlen, "PresentVSync");
|
||||
break;
|
||||
|
Reference in New Issue
Block a user