add basic variable resolution support to texture rendering (still needs to be added for sprites)