mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 15:26:55 -05:00
Fail if we couldn't create the specified renderer
This commit is contained in:
parent
8cc0a1f080
commit
ea48adddc2
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user