Added some missing render capability flags
authorSam Lantinga <slouken@libsdl.org>
Tue, 29 Aug 2017 23:14:39 -0700
changeset 114268411bceda8dc
parent 11425 79150dcf7b00
child 11427 381449ca1cd2
Added some missing render capability flags
src/test/SDL_test_common.c
     1.1 --- a/src/test/SDL_test_common.c	Tue Aug 29 23:12:26 2017 -0700
     1.2 +++ b/src/test/SDL_test_common.c	Tue Aug 29 23:14:39 2017 -0700
     1.3 @@ -478,11 +478,17 @@
     1.4  SDLTest_PrintRendererFlag(char *text, size_t maxlen, Uint32 flag)
     1.5  {
     1.6      switch (flag) {
     1.7 +    case SDL_RENDERER_SOFTWARE:
     1.8 +        SDL_snprintfcat(text, maxlen, "Software");
     1.9 +        break;
    1.10 +    case SDL_RENDERER_ACCELERATED:
    1.11 +        SDL_snprintfcat(text, maxlen, "Accelerated");
    1.12 +        break;
    1.13      case SDL_RENDERER_PRESENTVSYNC:
    1.14          SDL_snprintfcat(text, maxlen, "PresentVSync");
    1.15          break;
    1.16 -    case SDL_RENDERER_ACCELERATED:
    1.17 -        SDL_snprintfcat(text, maxlen, "Accelerated");
    1.18 +    case SDL_RENDERER_TARGETTEXTURE:
    1.19 +        SDL_snprintfcat(text, maxlen, "TargetTexturesSupported");
    1.20          break;
    1.21      default:
    1.22          SDL_snprintfcat(text, maxlen, "0x%8.8x", flag);