It is stated that the glPixelTransferf function effects the operations of functions such as glCopyPixels, glCopyTexImage1D,
glCopyTexImage2D, glCopyTexSubImage1D, glCopyTexSubImage2D,
glDrawPixels, glReadPixels, glTexImage1D, glTexImage2D,
glTexSubImage1D, and glTexSubImage2D. See link:http://pyopengl.sourceforge.net/documentation/ref/gl/pixeltransfer.html
however,
when performing these operations
glPixelTransferf(GL_RED_SCALE,0);
glPixelTransferf(GL_RED_BIAS,0);
glPixelTransferf(GL_BLUE_BIAS,0);
on glTexImage2D( no changes occur but when the same operations are performed on some function glDrawPixels only the green channel shows (which is what should happen for glTexImage2D( but does not seem to.
Any ideas on what might be causing this problem will be greatly appreciated.