Cleaned up version of scale-buffer. Grabbing buffer pointer via glReadPixels