Do not start with a black frame in bootanimation
Bug: 23128307 Change-Id: I0ec044f983c1c30960be046e43a882c63205dc5f
This commit is contained in:
@@ -556,15 +556,10 @@ bool BootAnimation::movie()
|
|||||||
|
|
||||||
mZip->endIteration(cookie);
|
mZip->endIteration(cookie);
|
||||||
|
|
||||||
// clear screen
|
|
||||||
glShadeModel(GL_FLAT);
|
glShadeModel(GL_FLAT);
|
||||||
glDisable(GL_DITHER);
|
glDisable(GL_DITHER);
|
||||||
glDisable(GL_SCISSOR_TEST);
|
glDisable(GL_SCISSOR_TEST);
|
||||||
glDisable(GL_BLEND);
|
glDisable(GL_BLEND);
|
||||||
glClearColor(0,0,0,1);
|
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
|
||||||
|
|
||||||
eglSwapBuffers(mDisplay, mSurface);
|
|
||||||
|
|
||||||
glBindTexture(GL_TEXTURE_2D, 0);
|
glBindTexture(GL_TEXTURE_2D, 0);
|
||||||
glEnable(GL_TEXTURE_2D);
|
glEnable(GL_TEXTURE_2D);
|
||||||
|
|||||||
Reference in New Issue
Block a user