1 parent
277f91c317
commit
10004ab0ea
12 files changed
+57
-7
No files matched your search
@@ -1524,7 +1524,9 @@ bool SDL_CameraInit(const char *driver_name)
|
||||
}
|
||||
}
|
||||
|
||||
if (!initialized) {
|
||||
if (initialized) {
|
||||
SDL_LogBackend("camera", camera_driver.name);
|
||||
} else {
|
||||
// specific drivers will set the error message if they fail, but otherwise we do it here.
|
||||
if (!tried_to_init) {
|
||||
if (driver_name) {
|
||||
|
||||
Reference in new issue
Block a user