add generic mesh draw function and move sprite draw function to separate unit

create catch-all util for GL errors + refactors mesh creation

some minor improvements

auto-extend buffer when loading shader code

(0) -30 -10 -4 +4 tip

mercurial