diff options
| author | 2021-09-10 20:51:57 +0000 | |
|---|---|---|
| committer | 2021-09-10 20:51:57 +0000 | |
| commit | a254195dc4e81738071c68243f6047af2af9bd7b (patch) | |
| tree | 48c40cfb0933ca7ea57cc8c24b9f9b44e2b05de9 /cmds/bootanimation/BootAnimation.cpp | |
| parent | 7252080d34831687b119a9dfa4593e52bef0884e (diff) | |
| parent | 1b45e9c5fc0e58309f87f006c245cf9a7b0eba0b (diff) | |
Merge "Fix AOSP boot animation black screen issue." into sc-qpr1-dev am: 6d673f1f9a am: e277f0ded5 am: 1b45e9c5fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15799420
Change-Id: I77b788dea2058df0109ee9e38c924416bf230500
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 8c39b7140828..59f602c11247 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -793,6 +793,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); |