]> git.tdb.fi Git - libs/gl.git/commit
Explicitly bind buffer in Bufferable::update_buffer
authorMikko Rasa <tdb@tdb.fi>
Sun, 15 Dec 2013 18:03:20 +0000 (20:03 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 16 Dec 2013 18:28:43 +0000 (20:28 +0200)
commit5c51ba1057b222ab44eca253828d58e107e80df0
treecba707a475305fb4f483b82635cb9bf6acae04b6
parent7015197bb127b92519cd93a2031a5c188d3fbd76
Explicitly bind buffer in Bufferable::update_buffer

This reduces unnecessary bind/unbind thrashing if the buffer needs to be
resized.
source/bufferable.cpp