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

* commit 'fc14d42b75d25b5062613333331839c895621f3b':
  fix [3361121] hang in glClear() - device unresponsive, OTA fails
This commit is contained in:
Mathias Agopian
2011-01-18 18:39:02 -08:00
committed by Android Git Automerger

View File

@@ -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(