Apply gstate.getTextureDimension(level)