зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1669890
- Workaround MOZ_DIAGNOSTIC_ASSERT(mNumGPUsDetected > 0) DTK crash r=mstange
Until we have GPU detection for the DTK ARM hardware, skip the diagnostic ASSERT on ARM builds. Differential Revision: https://phabricator.services.mozilla.com/D92983
This commit is contained in:
Родитель
2fca9ba7ca
Коммит
4b8141a376
|
@ -122,7 +122,10 @@ void GfxInfo::GetDeviceInfo() {
|
|||
}
|
||||
IOObjectRelease(io_iter);
|
||||
|
||||
#if defined(__x86_64__)
|
||||
// Until we support GPU detection for ARM hardware, skip this assert.
|
||||
MOZ_DIAGNOSTIC_ASSERT(mNumGPUsDetected > 0, "Failed to detect any GPUs");
|
||||
#endif
|
||||
}
|
||||
|
||||
nsresult GfxInfo::Init() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче