From 59f19e48c1c043bb9debdc35d166e397e2125d33 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Fri, 6 May 2011 19:22:12 -0700 Subject: clear boot-animation background with black (not transparent) pixels Change-Id: I2fcf9f303e8324cefaa2d96f1c46647f70980bb2 --- cmds/bootanimation/BootAnimation.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmds/bootanimation/BootAnimation.cpp') 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); -- cgit v1.2.3-59-g8ed1b