Has anyone used GL_BITMAP with glTexImage2D before? I’m trying to do the following:
glTexImage2D(GL_TEXTURE_2D, 0, 1, 128, 128, 0, GL_LUMINANCE, GL_BITMAP, pData);
but I get an error of:
“An unacceptable value is specified for an enumerated argument”
I tried using other internal formats as well such as GL_RGBA but that didn’t help things.
The data is just unligned data read in from a mono chrome bitmap. I can reformat the dat and that works, but I was just wondering if that was really necessary.