Anyone knows how to print an bitmap with glDrawPixels, have the pixeldata in an pointer, saved as RGB and the size width*height*3.

Please give me an example