summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jorim Jaggi <jjaggi@google.com> 2015-08-19 01:43:06 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-08-19 01:43:06 +0000
commitfc010d00f3d98e0fa35e9dc32f8c07354b12cbb7 (patch)
treeca9f979d88e8d7b71cbde538343ce1820fa49184
parent8978d9acbaaa89be3c14ed758e7c8a8d06071779 (diff)
parent1d9a8c58d8a68027eec950875700550600e3e46b (diff)
am 1d9a8c58: am 2591d6ff: am 358fcc79: Do not start with a black frame in bootanimation
* commit '1d9a8c58d8a68027eec950875700550600e3e46b': 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 fba462bfbe41..8f361ce1a779 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);