summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2015-08-19 01:32:06 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-08-19 01:32:06 +0000
commit1d9a8c58d8a68027eec950875700550600e3e46b (patch)
tree4fedb38d6bc4ec8a9390491143133ac39d36b1a7
parent309fef16e1494c80a54cbd0a59a98f32c512f845 (diff)
parent2591d6ffc60505df0099069877f7913ec30e4460 (diff)
downloadframeworks_base-1d9a8c58d8a68027eec950875700550600e3e46b.zip
frameworks_base-1d9a8c58d8a68027eec950875700550600e3e46b.tar.gz
frameworks_base-1d9a8c58d8a68027eec950875700550600e3e46b.tar.bz2
am 2591d6ff: am 358fcc79: Do not start with a black frame in bootanimation
* commit '2591d6ffc60505df0099069877f7913ec30e4460': Do not start with a black frame in bootanimation
-rw-r--r--cmds/bootanimation/BootAnimation.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp
index fba462b..8f361ce 100644
--- a/cmds/bootanimation/BootAnimation.cpp
+++ b/cmds/bootanimation/BootAnimation.cpp
@@ -556,15 +556,10 @@ bool BootAnimation::movie()
mZip->endIteration(cookie);
- // clear screen
glShadeModel(GL_FLAT);
glDisable(GL_DITHER);
glDisable(GL_SCISSOR_TEST);
glDisable(GL_BLEND);
- glClearColor(0,0,0,1);
- glClear(GL_COLOR_BUFFER_BIT);
-
- eglSwapBuffers(mDisplay, mSurface);
glBindTexture(GL_TEXTURE_2D, 0);
glEnable(GL_TEXTURE_2D);