]> git.tdb.fi Git - libs/gl.git/commit
Use BindRestore for binding index buffer
authorMikko Rasa <tdb@tdb.fi>
Wed, 12 Nov 2014 09:04:43 +0000 (11:04 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 12 Nov 2014 09:04:43 +0000 (11:04 +0200)
commite5d7b40938e4ae38c41ae6ed054319f7f3fa600f
tree407046278be164214baaedbafd18c909ebbf4346
parent6327ae3d1f8a976f839ce333500c1643f9965fca
Use BindRestore for binding index buffer

Plain Bind tries to unbind the buffer afterwards, which causes trouble if
the mesh itself is bound.
source/mesh.cpp