testcamera: Log the camera backend in use.
Build (All) / Create test plan (push) Waiting to run
Build (All) / level1 (push) Blocked by required conditions
Build (All) / level2 (push) Blocked by required conditions

This commit is contained in:
Ryan C. Gordon
2025-01-03 03:46:22 -05:00
parent 011454b237
commit e484182765
+2
View File
@@ -124,6 +124,8 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
return SDL_APP_FAILURE;
}
SDL_Log("Using SDL camera driver: %s", SDL_GetCurrentCameraDriver());
SDL_CameraID *devices = SDL_GetCameras(&devcount);
if (!devices) {
SDL_Log("SDL_GetCameras failed: %s", SDL_GetError());