diff options
author | Jorim Jaggi <jjaggi@google.com> | 2015-08-11 20:23:56 -0700 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2015-08-18 20:26:47 +0000 |
commit | 358fcc795ea567ba086a460c587de427507fefdd (patch) | |
tree | 50b63b979def79d569bbc767c734705cdd14a7d1 /cmds/bootanimation | |
parent | 33a5c80773b7b2913c92fec170787499a453d184 (diff) | |
download | frameworks_base-358fcc795ea567ba086a460c587de427507fefdd.zip frameworks_base-358fcc795ea567ba086a460c587de427507fefdd.tar.gz frameworks_base-358fcc795ea567ba086a460c587de427507fefdd.tar.bz2 |
Do not start with a black frame in bootanimation
Bug: 23128307
Change-Id: I0ec044f983c1c30960be046e43a882c63205dc5f
Diffstat (limited to 'cmds/bootanimation')
-rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 5 |
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); |