Added some missing render capability flags
diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c
index 83ba6cc..5bade2a 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;