diff options
| author | 2011-05-06 19:22:12 -0700 | |
|---|---|---|
| committer | 2011-05-06 19:22:12 -0700 | |
| commit | 59f19e48c1c043bb9debdc35d166e397e2125d33 (patch) | |
| tree | 5277f58327257cab63baaa7052573e1883501eb6 /cmds/bootanimation/BootAnimation.cpp | |
| parent | a5720192fe78337bcad9f509c1bbb1f8f3abb3c3 (diff) | |
clear boot-animation background with black (not transparent) pixels
Change-Id: I2fcf9f303e8324cefaa2d96f1c46647f70980bb2
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
| -rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index f987d61dce38..69c459705e2e 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); |