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

skip sprite rendering when there are no sprites in the scene

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

mercurial