Merge "renderthread: relax error handling for wide gamut EGL configs"
am: 50666fa217
Change-Id: Ic97b3742278bcdb2b5ec7b0540a7f7252c5472a4
This commit is contained in:
@@ -223,9 +223,9 @@ void EglManager::loadConfigs() {
|
|||||||
numConfigs = 1;
|
numConfigs = 1;
|
||||||
if (!eglChooseConfig(mEglDisplay, attribs16F, &mEglConfigWideGamut, numConfigs, &numConfigs)
|
if (!eglChooseConfig(mEglDisplay, attribs16F, &mEglConfigWideGamut, numConfigs, &numConfigs)
|
||||||
|| numConfigs != 1) {
|
|| numConfigs != 1) {
|
||||||
LOG_ALWAYS_FATAL(
|
ALOGE("Device claims wide gamut support, cannot find matching config, error = %s",
|
||||||
"Device claims wide gamut support, cannot find matching config, error = %s",
|
|
||||||
eglErrorString());
|
eglErrorString());
|
||||||
|
EglExtensions.pixelFormatFloat = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user