]> git.tdb.fi Git - libs/gl.git/commit
Don't consider the current buffer in deciding whether to bind BufferRange
authorMikko Rasa <tdb@tdb.fi>
Sun, 28 Sep 2014 17:52:17 +0000 (20:52 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 29 Sep 2014 15:10:03 +0000 (18:10 +0300)
commitd42fdf115dfd6f3e5e2f83f2c2f905fb02fc1af4
tree4cceb1d8e8e9b949403be83b2690eec04e064088
parent5ae4b0008b25072b5716f0cb585133315625a661
Don't consider the current buffer in deciding whether to bind BufferRange

glBindBufferRange should only be called if the buffer range bound to that
index was changed.  The buffer binding gets changed as a side-effect, but
should not factor into the decision.
source/buffer.cpp