]> git.tdb.fi Git - libs/gl.git/commit
Move eye_obj matrices back out of the uniform block
authorMikko Rasa <tdb@tdb.fi>
Mon, 27 Oct 2014 20:28:35 +0000 (22:28 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 27 Oct 2014 20:28:35 +0000 (22:28 +0200)
commitbefd5cf28bbfe1b334d4e96138d35e05ce51b3dd
treed086b244719aa0efdd9bf38cec977d132953d7a2
parent9bc72d268d1dd9dcf7c5f1f6b911ef97b54d81bd
Move eye_obj matrices back out of the uniform block

It turns out that updating the buffer for every draw call causes trouble
for drivers, especially OpenGL ES.  Projection matrix typically does not
change during a frame, so it can stay.
source/programbuilder.cpp