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

Commit 2872eb07 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android (Google) Code Review
Browse files

Merge "fix [3361121] hang in glClear() - device unresponsive, OTA fails" into honeycomb

parents 002951dd ed8a50c9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -261,8 +261,7 @@ bool SharedBufferClient::LockCondition::operator()() const {
    // NOTE: if stack.head is messed up, we could crash the client
    // or cause some drawing artifacts. This is okay, as long as it is
    // limited to the client.
    return (buf != stack.index[stack.head] ||
            (stack.queued > 0 && stack.inUse != buf));
    return (buf != stack.index[stack.head]);
}

SharedBufferServer::BuffersAvailableCondition::BuffersAvailableCondition(