From 9ca6292372e610ce21e6967797108fdbbdc96b5f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 29 Aug 2017 23:14:39 -0700 Subject: [PATCH] Added some missing render capability flags --- src/test/SDL_test_common.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c index 83ba6cc31..5bade2a20 100644 --- a/src/test/SDL_test_common.c +++ b/src/test/SDL_test_common.c @@ -478,12 +478,18 @@ static void SDLTest_PrintRendererFlag(char *text, size_t maxlen, Uint32 flag) { switch (flag) { - case SDL_RENDERER_PRESENTVSYNC: - SDL_snprintfcat(text, maxlen, "PresentVSync"); + 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; + case SDL_RENDERER_TARGETTEXTURE: + SDL_snprintfcat(text, maxlen, "TargetTexturesSupported"); + break; default: SDL_snprintfcat(text, maxlen, "0x%8.8x", flag); break;