test/testdraw2.c
changeset 5184 d976b67150c5
parent 5147 ad50b3db78bd
child 5297 1800dc39b74c
--- a/test/testdraw2.c	Fri Feb 04 19:18:08 2011 -0800
+++ b/test/testdraw2.c	Fri Feb 04 19:50:56 2011 -0800
@@ -190,6 +190,9 @@
                     } else if (SDL_strcasecmp(argv[i + 1], "add") == 0) {
                         blendMode = SDL_BLENDMODE_ADD;
                         consumed = 2;
+                    } else if (SDL_strcasecmp(argv[i + 1], "mod") == 0) {
+                        blendMode = SDL_BLENDMODE_MOD;
+                        consumed = 2;
                     }
                 }
             } else if (SDL_strcasecmp(argv[i], "--cyclecolor") == 0) {
@@ -205,7 +208,7 @@
         }
         if (consumed < 0) {
             fprintf(stderr,
-                    "Usage: %s %s [--blend none|blend|add] [--cyclecolor] [--cyclealpha]\n",
+                    "Usage: %s %s [--blend none|blend|add|mod] [--cyclecolor] [--cyclealpha]\n",
                     argv[0], CommonUsage(state));
             return 1;
         }