Fix(DOtherSide): Exclude threaded renderer all darwin architectures (#10411)

This commit is contained in:
Mikhail Rogachev 2023-04-25 15:25:31 +04:00 committed by GitHub
parent 0009ebd68f
commit 579ca265b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ void dos_qguiapplication_initialize_opengl()
void dos_qguiapplication_try_enable_threaded_renderer() void dos_qguiapplication_try_enable_threaded_renderer()
{ {
if(QSysInfo::buildCpuArchitecture() == "arm64" && QSysInfo::kernelType() == "darwin" && QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) if(QSysInfo::kernelType() == "darwin" && QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
{ {
//Threaded renderer is crashing on M1 Macs //Threaded renderer is crashing on M1 Macs
return; return;