remove stale texture functions from sprite.c