View Full Version : Bitmaps Drawing

04-14-2004, 12:13 AM
When I am trying to draw the bitmaps it is coming like tiles in the lower part of the window.I am using glDrawPixles() for drawing. When I am using GL_RGB as type I am getting three bitmaps in tiles that is also in upto some height.When I am using GL_LUMINANCE it is coming correctly but coming in black and white instead of colors. Can anyone have any idea about this.Do this help for me

04-14-2004, 07:06 AM
You should properly set the format and type in the glDrawPixels function so they match the bitmap you want to draw.