]> git.tdb.fi Git - libs/gl.git/commit
Tweak buffer logic a bit in Batch::draw
authorMikko Rasa <tdb@tdb.fi>
Sat, 30 Nov 2013 16:56:42 +0000 (18:56 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 30 Nov 2013 16:56:42 +0000 (18:56 +0200)
commit00fddb7f46bf0164f74a99f8f5f0081ce969260a
treeb340ea849e142da036589dadd652e50ab2f60819
parentcfd7b5bc0c69d0b8cc7c8b3ec81a1a9462d04abb
Tweak buffer logic a bit in Batch::draw

Excplicitly binding the buffer first avoids unnecessary implicit binds in
the buffer update code.
source/batch.cpp