Skip to content

Commit

Permalink
Merge "Fix AOSP boot animation black screen issue." into sc-qpr1-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
TreeHugger Robot authored and Android (Google) Code Review committed Sep 10, 2021
2 parents 1ec12f2 + bfd2d3c commit 6d673f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmds/bootanimation/BootAnimation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,8 @@ bool BootAnimation::android() {
// clear screen
glDisable(GL_DITHER);
glDisable(GL_SCISSOR_TEST);
glUseProgram(mImageShader);

glClearColor(0,0,0,1);
glClear(GL_COLOR_BUFFER_BIT);
eglSwapBuffers(mDisplay, mSurface);
Expand Down

0 comments on commit 6d673f1

Please sign in to comment.