diff options
author | Brian Paul <[email protected]> | 2012-02-07 13:08:53 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-02-09 08:18:50 -0700 |
commit | 781f84a3c2f7a06cb9e6cc44b8d5d08b39577c25 (patch) | |
tree | aaea2a928d53df2ccc60332216b4b2cb65ac368e /scons | |
parent | 8b4f7b0672d663273310fffa9490ad996f5b914a (diff) |
vbo: unmap vertex store before executing lists
We don't want our VBOs mapped when we're drawing. This change checks
if the vertex store VBO is mapped before we execute a list, unmaps it,
then remaps it after drawing. This situation pops up when building a
nested display list in GL_COMPILE_AND_EXECUTE mode.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions