Tidy up Texture::sub_image

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>