File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Graphics/GraphicsEngineOpenGL/src Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -695,10 +695,18 @@ void RenderDeviceGLImpl::InitAdapterInfo()
695695 else if (Vendor.find (" ati" ) != std::string::npos ||
696696 Vendor.find (" amd" ) != std::string::npos)
697697 m_AdapterInfo.Vendor = ADAPTER_VENDOR_AMD;
698- else if (Vendor.find (" qualcomm" ))
698+ else if (Vendor.find (" qualcomm" ) != std::string::npos )
699699 m_AdapterInfo.Vendor = ADAPTER_VENDOR_QUALCOMM;
700- else if (Vendor.find (" arm" ))
700+ else if (Vendor.find (" arm" ) != std::string::npos )
701701 m_AdapterInfo.Vendor = ADAPTER_VENDOR_ARM;
702+ else if (Vendor.find (" microsoft" ) != std::string::npos)
703+ m_AdapterInfo.Vendor = ADAPTER_VENDOR_MSFT;
704+ else if (Vendor.find (" apple" ) != std::string::npos)
705+ m_AdapterInfo.Vendor = ADAPTER_VENDOR_APPLE;
706+ else if (Vendor.find (" mesa" ) != std::string::npos)
707+ m_AdapterInfo.Vendor = ADAPTER_VENDOR_MESA;
708+ else if (Vendor.find (" broadcom" ) != std::string::npos)
709+ m_AdapterInfo.Vendor = ADAPTER_VENDOR_BROADCOM;
702710 else
703711 m_AdapterInfo.Vendor = ADAPTER_VENDOR_UNKNOWN;
704712 }
You can’t perform that action at this time.
0 commit comments