]> git.tdb.fi Git - libs/gl.git/commitdiff
Store Renderables as non-const pointers or references
authorMikko Rasa <tdb@tdb.fi>
Mon, 5 Dec 2016 16:35:22 +0000 (18:35 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 5 Dec 2016 17:50:12 +0000 (19:50 +0200)
It's irked me for a while how some renderables (mostly effects) need to
do internal updates in setup_frame, but it's const so I end up with a ton
of mutables.  Since almost all of my use cases actually pass in non-const
Renderables anyway, I'm just going to change this.


No differences found