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

Commit a7c2fcea authored by Chet Haase's avatar Chet Haase Committed by Android Git Automerger
Browse files

am 2a17c989: am 6b7d46b7: Merge "Restore scissor state correctly" into jb-mr1-dev

* commit '2a17c989':
  Restore scissor state correctly
parents f3f8b8ef 2a17c989
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -250,6 +250,7 @@ void OpenGLRenderer::resume() {
    glViewport(0, 0, snapshot->viewport.getWidth(), snapshot->viewport.getHeight());
    glClearColor(0.0f, 0.0f, 0.0f, 0.0f);

    mCaches.scissorEnabled = glIsEnabled(GL_SCISSOR_TEST);
    mCaches.enableScissor();
    mCaches.resetScissor();
    dirtyClip();