Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fail if we couldn't create the specified renderer
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/test/SDL_test_common.c
|
@@ -886,7 +886,7 @@ SDLTest_CommonInit(SDLTest_CommonState * state) |
|
|
break; |
|
|
} |
|
|
} |
|
|
if (m == n) { |
|
|
if (m == -1) { |
|
|
fprintf(stderr, |
|
|
"Couldn't find render driver named %s", |
|
|
state->renderdriver); |
|
|