Fail if we couldn't create the specified renderer
parent
83200a3225
commit
d5c109b2f4
|
@ -886,7 +886,7 @@ SDLTest_CommonInit(SDLTest_CommonState * state)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (m == n) {
|
if (m == -1) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Couldn't find render driver named %s",
|
"Couldn't find render driver named %s",
|
||||||
state->renderdriver);
|
state->renderdriver);
|
||||||
|
|
Loading…
Reference in New Issue