Skip to content
Permalink
Browse files

Fail if we couldn't create the specified renderer

  • Loading branch information
slouken committed Apr 5, 2014
1 parent 83200a3 commit d5c109b2f4cc0472b38509c2d091da24a4d24602
Showing with 1 addition and 1 deletion.
  1. +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);

0 comments on commit d5c109b

Please sign in to comment.