Fix AOSP boot animation black screen issue.
Bug: 197740038 Test: Force stock android animation on a pixel phone in BootAnimation.cpp. (Remember to disable dynamic coloring.) Check stock android animation. Change-Id: I3c3979c344a351ec261bb12127cff971d6050367
This commit is contained in:
@ -789,6 +789,8 @@ bool BootAnimation::android() {
|
|||||||
// clear screen
|
// clear screen
|
||||||
glDisable(GL_DITHER);
|
glDisable(GL_DITHER);
|
||||||
glDisable(GL_SCISSOR_TEST);
|
glDisable(GL_SCISSOR_TEST);
|
||||||
|
glUseProgram(mImageShader);
|
||||||
|
|
||||||
glClearColor(0,0,0,1);
|
glClearColor(0,0,0,1);
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT);
|
||||||
eglSwapBuffers(mDisplay, mSurface);
|
eglSwapBuffers(mDisplay, mSurface);
|
||||||
|
Reference in New Issue
Block a user