commit | d369dc42506ec003f1839bb9e27edada411324b5 | [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 | 3b4f8881a614aa1e44ff337ee136b8eb8306ed2a | |
parent | 7dc00d5eb27de41f93a7e232b3cd374c84eb77d1 [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