opengl buffer to sequential bitmap