]> git.tdb.fi Git - libs/gl.git/commit
State management improvements in Renderer
authorMikko Rasa <tdb@tdb.fi>
Thu, 30 Oct 2014 08:21:18 +0000 (10:21 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 30 Oct 2014 08:24:33 +0000 (10:24 +0200)
commitd41ec7dfaa635bbaea9e902d5f5c60bd4a887891
tree8bbe57ebfeb919481761e48d384caa4a8bc00696
parent6d2e5c8e7ef79706adfce1b69695e3c8071c6ddb
State management improvements in Renderer

Only update modelview matrix in standard_shdata if it actually changed.

Don't re-apply all shader data unless the program changed.

React to lighting changes caused by pop_state.
source/renderer.cpp
source/renderer.h