Hi, I am facing some problem when I am reading data from OpenGL using glReadPixels (0, 0, pixmap_width, pixmap_height, GL_RGBA, GL_UNSIGNED_BYTE, fbp_original) [fbp_original is a char array[4]]
Then I am trying to pass this data to Xserver using ARGB format. Now, my question is when I am saying GL_RGBA format in byte array, what does it actually mean? Is the R component be put into the LSB or onto the MSB irrespective of the endianness of the system? From the clutter_do_pick logic, i understand the R component is put into pixel[0], but somehow i got confused there. Can any one please help? Regs, Mustaf -- To unsubscribe send a mail to [email protected]
