comparison test/testwm2.c @ 1985:8055185ae4ed

Added source color and alpha modulation support. Added perl script to generate optimized render copy functions.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 28 Aug 2006 03:17:39 +0000
parents 7ee5297340f7
children 9de326b3099c
comparison
equal deleted inserted replaced
1984:b910bcabec26 1985:8055185ae4ed
32 consumed = CommonArg(state, i); 32 consumed = CommonArg(state, i);
33 if (consumed == 0) { 33 if (consumed == 0) {
34 consumed = -1; 34 consumed = -1;
35 } 35 }
36 if (consumed < 0) { 36 if (consumed < 0) {
37 fprintf(stderr, "Usage: %s %s", argv[0], CommonUsage(state)); 37 fprintf(stderr, "Usage: %s %s\n", argv[0], CommonUsage(state));
38 quit(1); 38 quit(1);
39 } 39 }
40 i += consumed; 40 i += consumed;
41 } 41 }
42 if (!CommonInit(state)) { 42 if (!CommonInit(state)) {