mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-04 14:49:40 +00:00
@@ -1063,7 +1063,9 @@ SDL_Renderer *SDL_CreateRendererWithProperties(SDL_PropertiesID props)
|
||||
}
|
||||
}
|
||||
|
||||
if (!rc) {
|
||||
if (rc) {
|
||||
SDL_LogBackend("render", renderer->name);
|
||||
} else {
|
||||
if (driver_name) {
|
||||
SDL_SetError("%s not available", driver_name);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user