Software nearest scaling: start at the middle of pixel so that it matches opengl GL_NEAREST mode most of the time