   texture rectangle color format mismatch
  I have an OpenGL application which loads images in BMP and TGA format. I manually load the images in my code, I'm not using any image loading library, and by convention I have to swap the red and blue channels when loading because these image formats store the data as BGR instead of RGB. Internally my application stores the images as a texture rectangle GL_TEXTURE_RECTANGLE_ARB of type GL_UNSIGNED_BYTE and either GL_RGB or GL_RGBA color formats. Also, these texture rectangles are attached to a FBO as color attachments.The problem is on Ati cards the image is for some reason automatically loaded with the correct RGB channel mapping, and I do not have to swap the R and B channels as usual. Swapping these channels produces incorrect images, while on Nvidia cards I still have to manually swap the color channels. Is this a bug in the Ati drivers, or is there something going on that I'm not aware of? Why do I not have to swap the color channels on Ati cards? The Ati card I tested this on is a x1900xt with catalyst 7.4 drivers.   