View Full Version : Loading bitmap of format 1 bit per pixel

10-08-2009, 02:10 AM

Is there any method to load a 1 bit per pixel bitmap to texture( using glTexImage2D or using some other functions )?

I know that, I can load the image after converting it to 8 bit image. But I am looking for some direct method

Thanks in advance

10-08-2009, 04:15 PM
You can use GL_BITMAP as format parameter to glTexImage, but it's probably deprecated (I don't remember right now).