fix probably incorrect array access of struct members

use refcounted objects for textures instead of pass-by-value int structs

add support for 2d textures in sprite shader - fixes #386

skip sprite rendering when there are no sprites in the scene

make asset paths configurable

fix debug output

put snake test program into separate directory

implement view matrix in sprite shader

(0) -30 -10 -8 tip

mercurial