test/testsprite2.c
changeset 5184 d976b67150c5
parent 5158 b3ccd1947786
child 5297 1800dc39b74c
     1.1 --- a/test/testsprite2.c	Fri Feb 04 19:18:08 2011 -0800
     1.2 +++ b/test/testsprite2.c	Fri Feb 04 19:50:56 2011 -0800
     1.3 @@ -237,6 +237,9 @@
     1.4                      } else if (SDL_strcasecmp(argv[i + 1], "add") == 0) {
     1.5                          blendMode = SDL_BLENDMODE_ADD;
     1.6                          consumed = 2;
     1.7 +                    } else if (SDL_strcasecmp(argv[i + 1], "mod") == 0) {
     1.8 +                        blendMode = SDL_BLENDMODE_MOD;
     1.9 +                        consumed = 2;
    1.10                      }
    1.11                  }
    1.12              } else if (SDL_strcasecmp(argv[i], "--cyclecolor") == 0) {
    1.13 @@ -252,7 +255,7 @@
    1.14          }
    1.15          if (consumed < 0) {
    1.16              fprintf(stderr,
    1.17 -                    "Usage: %s %s [--blend none|blend|add] [--cyclecolor] [--cyclealpha]\n",
    1.18 +                    "Usage: %s %s [--blend none|blend|add|mod] [--cyclecolor] [--cyclealpha]\n",
    1.19                      argv[0], CommonUsage(state));
    1.20              quit(1);
    1.21          }