glPixelStorei(GL_UNPACK_ALIGNMENT, 1) Disadvantages?
How can data not be 1-byte aligned? This strongly suggests a lack of understanding of what the row alignment in pixel transfer operations means. Image data that you pass to OpenGL is expected to be grouped into rows. Each row contains width number of pixels, with each pixel being the size as defined by the … Read more