summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2021-09-10 19:28:29 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-09-10 19:28:29 +0000
commit6d673f1f9a8b637cc7ed6b6328301a39b8f4572e (patch)
treedb5e787b86abd49221a6656cc658a035fa2546d9 /cmds/bootanimation/BootAnimation.cpp
parent1ec12f22c27e4559035222f955c5af7daf97fba1 (diff)
parentbfd2d3ce722a4626b4cdb8e7977ac46239c89ce1 (diff)
Merge "Fix AOSP boot animation black screen issue." into sc-qpr1-dev
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
-rw-r--r--cmds/bootanimation/BootAnimation.cpp2
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);