]> git.tdb.fi Git - libs/gl.git/commit
Tweak the shader functions in Renderer
authorMikko Rasa <tdb@tdb.fi>
Tue, 28 Aug 2012 07:39:19 +0000 (10:39 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 28 Aug 2012 07:39:19 +0000 (10:39 +0300)
commit0c731643d6363eb4c492e836ffb919cb7c0a3035
tree1722bac259d6e8189bd13438675a4d8e6fa8dec0
parent41b4cb3002f3551ce1bd6fdf15994ee7bc523788
Tweak the shader functions in Renderer

Since ProgramData is no longer tied to a single Program, we can retain it
over program changes.  This opens up some new possibilities, in
particular for Effects.

Also rename set_shader to set_shader_program.
demos/cubemap.cpp
demos/shaders.cpp
source/animatedobject.cpp
source/object.cpp
source/renderer.cpp
source/renderer.h