Mercurial > sdl-ios-xcode
comparison test/common.c @ 1916:c773b0c0ac89
Implemented blend modes in the D3D renderer
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 19 Jul 2006 05:03:21 +0000 |
parents | 051df511279c |
children | f3399f779a1d |
comparison
equal
deleted
inserted
replaced
1915:a228436a2404 | 1916:c773b0c0ac89 |
---|---|
103 state->num_windows = 1; | 103 state->num_windows = 1; |
104 return 1; | 104 return 1; |
105 } | 105 } |
106 if (SDL_strcasecmp(argv[index], "--windows") == 0) { | 106 if (SDL_strcasecmp(argv[index], "--windows") == 0) { |
107 ++index; | 107 ++index; |
108 if (!argv[index] || !isdigit(*argv[index])) { | 108 if (!argv[index] || !SDL_isdigit(*argv[index])) { |
109 return -1; | 109 return -1; |
110 } | 110 } |
111 if (!(state->window_flags & SDL_WINDOW_FULLSCREEN)) { | 111 if (!(state->window_flags & SDL_WINDOW_FULLSCREEN)) { |
112 state->num_windows = SDL_atoi(argv[index]); | 112 state->num_windows = SDL_atoi(argv[index]); |
113 } | 113 } |