summaryrefslogtreecommitdiffstats
path: root/src/test-native
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-10 17:37:38 +0200
committerSven Gothel <[email protected]>2012-10-10 17:37:38 +0200
commit8582ece7dc7f65271b3184261697a542766d9864 (patch)
treeceac339e2c0282419aa2bbc9c4ec222eca9d084e /src/test-native
parentfb3795504f7b05000651a9ea558dbb1b2a3b16f5 (diff)
Simplify GLArrayHandler and reduce VBO sideffects
VBO: Always unbind VBO ASAP after data transfer (glBufferData()) and assignment (glVertexPointer(..), glVertexAttribPointer()). It's a bug to leave it bound .. due to redundancy and other calls which could have change the VBO binding. Removed syncData(..), now it's only issued at enable and hence migrated into the enable method.
Diffstat (limited to 'src/test-native')
0 files changed, 0 insertions, 0 deletions