disabled tests and print cam driver

This commit is contained in:
2024-05-16 08:47:32 +02:00
parent e149873673
commit ef78c49e29
3 changed files with 6 additions and 3 deletions

View File

@ -9,6 +9,7 @@
SDLVideoCameraContent::SDLVideoCameraContent(void) {
int devcount {0};
SDL_CameraDeviceID *devices = SDL_GetCameraDevices(&devcount);
std::cout << "SDL Camera Driver: " << SDL_GetCurrentCameraDriver() << "\n";
if (devices == nullptr || devcount < 1) {
throw int(1); // TODO: proper exception?