]> git.tdb.fi Git - libs/gl.git/commit
Automatically add uniforms for texunits
authorMikko Rasa <tdb@tdb.fi>
Tue, 19 May 2020 12:16:35 +0000 (15:16 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 19 May 2020 12:16:35 +0000 (15:16 +0300)
commit47431fab6676ce5c4cd1ba994da73b1edac2d3e4
tree9fe3166a0313bec862b7b304e7d2a4aa4f9a8693
parente246ab24f150ae47df055af42487d267d905075d
Automatically add uniforms for texunits

The uniform statement now uses existing ProgramData if it exists, to
avoid inadvertently erasing the texunit uniforms.
source/renderpass.cpp
source/renderpass.h