Log the chosen Metal device

This commit is contained in:
Cameron Gutman 2024-08-29 23:20:52 -05:00
parent a6e549471c
commit 4290a54ffa

View file

@ -701,6 +701,10 @@ public:
return false;
}
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
"Selected Metal device: %s",
device.name.UTF8String);
if (m_HwAccel && !checkDecoderCapabilities(device, params)) {
return false;
}