diff options
| author | 2021-09-10 19:43:34 +0000 | |
|---|---|---|
| committer | 2021-09-10 19:43:34 +0000 | |
| commit | 1b45e9c5fc0e58309f87f006c245cf9a7b0eba0b (patch) | |
| tree | a0579d34199980c9402ddbffec9b39443e404216 /cmds/bootanimation/BootAnimation.cpp | |
| parent | 5889f2a93b8f3b67a3932e633c73f91e61eb4877 (diff) | |
| parent | e277f0ded5818d85cde0d6e04cf3ac5caedd3a62 (diff) | |
Merge "Fix AOSP boot animation black screen issue." into sc-qpr1-dev am: 6d673f1f9a am: e277f0ded5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15799420
Change-Id: Ifd2e5955fd9d4b2c790db69d36840c8b52cb8f95
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
| -rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index c074029ab553..6c8cab7783b6 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -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); |