]> git.tdb.fi Git - libs/gl.git/commit
Avoid creating blocks for which there are no uniforms
authorMikko Rasa <tdb@tdb.fi>
Sun, 26 Aug 2012 13:13:36 +0000 (16:13 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 26 Aug 2012 13:13:36 +0000 (16:13 +0300)
commit3cdcc7f689b3868dd275774b9bd9adb5c436f244
tree4ea12bfbf81c9eb124346258d9770f91b067d621
parentc21d4de686e7abd51b0a779af00f06ce459e18d6
Avoid creating blocks for which there are no uniforms

Since this requires finding the relevant uniforms before the block is
created, might as well store the list with the block for faster updates.
source/programdata.cpp
source/programdata.h