Alright I have figured out a lot of mistakes but now I have a problem getting the
glTexImage2D function to work… I load a bitmap using LoadImage and then get the data using
GetObject(pbitmap, sizeof(BITMAP), (LPSTR)&bmp);
I don’t know how to set the internal format, type, and format of the glTexImage2D call to get it to work. I am getting no errors but it just puts a black screen up. If I comment out the call I get my quadric sphere, untextured of course.
I am calling it as follows:
[This message has been edited by delic (edited 10-06-2002).]