Daemon
Daemon copied to clipboard
Only update PushBuffer if any uniform has actually changed
Requires #1684
Further improvement for PushBuffer, only update it if it's actually required.
Also added a fix for globalFog fog texture.
Changed the initial commit and added a new one, now it mutualises currentValue and uniformFirewall (in a way that works with any kind of uniform unlike uniformFirewall, and with both buffers and shader programs unlike currentValue), GLUniform.WriteToBuffer() now only has 1 definition, and the uniform setting functions are now much simpler. Also NUKED a bunch of now unused code.