Allow render thread usage with Metal

This commit is contained in:
Cameron Gutman 2023-09-09 07:45:42 -05:00
parent f60e724167
commit 21bba02e6f

View file

@ -61,7 +61,7 @@ bool SdlRenderer::isRenderThreadSupported()
"SDL renderer backend: %s",
info.name);
if (info.name != QString("direct3d")) {
if (info.name != QString("direct3d") && info.name != QString("metal")) {
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
"SDL renderer backend requires main thread rendering");
return false;