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

This commit is contained in:
Dmitry Shmidt
2017-12-13 17:51:47 +00:00
committed by Gerrit Code Review

View File

@@ -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;
} }
} }
} }