Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae9eca57 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android Git Automerger
Browse files

am 7165b92e: Merge "fix Corrupted graphics while playing You Tube on...

am 7165b92e: Merge "fix Corrupted graphics while playing You Tube on orientation change" into ics-mr1

* commit '7165b92e71bc6a1a741a53dc7968af88e7958f39':
  fix Corrupted graphics while playing You Tube on orientation change
parents 4375c87a 86eb34f1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1784,8 +1784,10 @@ status_t SurfaceFlinger::renderScreenToTextureLocked(DisplayID dpy,
    // redraw the screen entirely...
    glDisable(GL_TEXTURE_EXTERNAL_OES);
    glDisable(GL_TEXTURE_2D);
    glDisable(GL_SCISSOR_TEST);
    glClearColor(0,0,0,1);
    glClear(GL_COLOR_BUFFER_BIT);
    glEnable(GL_SCISSOR_TEST);
    glMatrixMode(GL_MODELVIEW);
    glLoadIdentity();
    const Vector< sp<LayerBase> >& layers(mVisibleLayersSortedByZ);