Merge "Fix suspend crash issue on no GPU platform." am: 175621f517 am: 98b07f6b55
am: 9fb8a51cce
Change-Id: Iac53929b195ad126cefce5a36a0ade2783b77c95
This commit is contained in:
@@ -547,6 +547,11 @@ final class ColorFade {
|
|||||||
logEglError("eglChooseConfig");
|
logEglError("eglChooseConfig");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (numEglConfigs[0] <= 0) {
|
||||||
|
Slog.e(TAG, "no valid config found");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
mEglConfig = eglConfigs[0];
|
mEglConfig = eglConfigs[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user