Mercurial > sdl-ios-xcode
diff test/testintersections.c @ 5187:d976b67150c5
Restored SDL_BLENDMODE_MOD for MAME
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 04 Feb 2011 19:50:56 -0800 |
parents | ad50b3db78bd |
children |
line wrap: on
line diff
--- a/test/testintersections.c Fri Feb 04 19:18:08 2011 -0800 +++ b/test/testintersections.c Fri Feb 04 19:50:56 2011 -0800 @@ -223,6 +223,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) { @@ -238,7 +241,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; }