diff --git a/src/libdmr/compositing_manager.cpp b/src/libdmr/compositing_manager.cpp index 3979abf6..cb4da769 100644 --- a/src/libdmr/compositing_manager.cpp +++ b/src/libdmr/compositing_manager.cpp @@ -64,8 +64,7 @@ class PlatformChecker qInfo() << "match shenwei"; _pf = Platform::Alpha; - } else if (machine.find("mips") != string::npos - || machine.find("loongarch64") != string::npos) { // loongson + } else if (machine.find("mips") != string::npos) { // MIPS-based Loongson qInfo() << "match loongson"; _pf = Platform::Mips; } else if (machine.find("aarch64") != string::npos) { // ARM64 diff --git a/src/libdmr/compositing_manager.h b/src/libdmr/compositing_manager.h index 2687f2b8..3acae5dc 100644 --- a/src/libdmr/compositing_manager.h +++ b/src/libdmr/compositing_manager.h @@ -17,7 +17,7 @@ namespace dmr { enum Platform { Unknown, X86, // intel & amd - Mips, // loongson + Mips, // MIPS-based Loongson Alpha, // sunway Arm64 };