summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-05-06 19:23:16 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-05-06 19:23:16 -0700
commit21696fb98a46da3b6e932bc28f84f932938628e0 (patch)
tree0057fbdd04329809f87c75e9a36057f94289759e
parentfd7dea5b2cfb20249ece68df0145554010d74f07 (diff)
parent59f19e48c1c043bb9debdc35d166e397e2125d33 (diff)
downloadframeworks_base-21696fb98a46da3b6e932bc28f84f932938628e0.zip
frameworks_base-21696fb98a46da3b6e932bc28f84f932938628e0.tar.gz
frameworks_base-21696fb98a46da3b6e932bc28f84f932938628e0.tar.bz2
Merge "clear boot-animation background with black (not transparent) pixels"
-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 f987d61..69c4597 100644
--- a/cmds/bootanimation/BootAnimation.cpp
+++ b/cmds/bootanimation/BootAnimation.cpp
@@ -302,6 +302,7 @@ bool BootAnimation::android()
glShadeModel(GL_FLAT);
glDisable(GL_DITHER);
glDisable(GL_SCISSOR_TEST);
+ glClearColor(0,0,0,1);
glClear(GL_COLOR_BUFFER_BIT);
eglSwapBuffers(mDisplay, mSurface);
@@ -439,6 +440,7 @@ bool BootAnimation::movie()
glDisable(GL_DITHER);
glDisable(GL_SCISSOR_TEST);
glDisable(GL_BLEND);
+ glClearColor(0,0,0,1);
glClear(GL_COLOR_BUFFER_BIT);
eglSwapBuffers(mDisplay, mSurface);