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

Commit 562af68f authored by Chet Haase's avatar Chet Haase Committed by Android (Google) Code Review
Browse files

Merge "Reset GL buffer state after functor invocation" into jb-mr1-dev

parents 996be340 beb8bd0d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -299,9 +299,11 @@ status_t OpenGLRenderer::invokeFunctors(Rect& dirty) {
                mFunctors.add(f);
            }
        }
    }

        // protect against functors binding to other buffers
        mCaches.unbindMeshBuffer();
        mCaches.unbindIndicesBuffer();
        mCaches.activeTexture(0);
    }

    return result;
}