commit | 67eedd74ab78c2bfed9fcdc74947b97289254ca4 | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Sun Jan 09 13:25:39 2011 -0800 |
committer | Jamie Gennis <jgennis@google.com> | Sun Jan 09 16:40:06 2011 -0800 |
tree | b408b463541a5dae4cdd690834766b9b4b76f5c1 | |
parent | e70d8b43938e17beebcc0c97a9373a1906f6f2bf [diff] |
Fix a bug in SurfaceTexture::setBufferCount. We need to reset mCurrentTexture and mLastQueued in setBufferCount because it frees all of the buffers associated with the buffer slots. Change-Id: Ie2f834ec1c07ce7a4ab9b2b5fc5fe8c294010c60