Merge "renderthread: relax error handling for wide gamut EGL configs"

am: 50666fa217

Change-Id: Ic97b3742278bcdb2b5ec7b0540a7f7252c5472a4
This commit is contained in:
Dmitry Shmidt
2017-12-13 18:04:19 +00:00
committed by android-build-merger

View File

@@ -223,9 +223,9 @@ void EglManager::loadConfigs() {
numConfigs = 1;
if (!eglChooseConfig(mEglDisplay, attribs16F, &mEglConfigWideGamut, numConfigs, &numConfigs)
|| numConfigs != 1) {
LOG_ALWAYS_FATAL(
"Device claims wide gamut support, cannot find matching config, error = %s",
ALOGE("Device claims wide gamut support, cannot find matching config, error = %s",
eglErrorString());
EglExtensions.pixelFormatFloat = false;
}
}
}