diff options
author | Mathias Agopian <mathias@google.com> | 2011-08-17 15:42:04 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-08-17 15:49:13 -0700 |
commit | 29b5762efc359022168e5099c1d17925444d3147 (patch) | |
tree | c2a8c991c104e550fd03f81cea8ed7582e27609c /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 3902be629bd94de62db0039004d0b25556227cbf (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/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions