Only cache GLSL programs on clean startup
Merge branch 'master' of github.com:viciious/qfusion
Fix problems detected by valgrind
Core shader iface instead of objects if supported
Use core shader functions
fixed cmake scripts to find libjpeg.framework