diff options
| author | 2011-08-17 15:42:04 -0700 | |
|---|---|---|
| committer | 2011-08-17 15:49:13 -0700 | |
| commit | 8618ebcc5d20a5983da1fc6200d50c3662aca6e3 (patch) | |
| tree | 56e364cad0f30931fb430f68bb7d40f483d68e8e /opengl/libagl/state.cpp | |
| parent | 1a227437be33157175b4de5f47d08a02647ee71a (diff) | |
don't return the current buffer from dequeueBuffer
we were not reseting mCurrentTexture in some situations
which in turn caused dequeueBuffers() return a
"FREE" buffer that was also current.
Very often it was harmless, but it created a race with
updateTexImage() which could cause the following
queueBuffers() to fail.
Bug: 5156325
Change-Id: If15a31dc869117543d220d6e5562c57116cbabdb
Diffstat (limited to 'opengl/libagl/state.cpp')
0 files changed, 0 insertions, 0 deletions