PDA

View Full Version : Texture mapping in GLUT



mist350
02-05-2001, 12:34 AM
I just got started programming opengl with the superbible2, but the LoadDIBitmap stuff wont work. It wont compile the program, even when I try to compile the book source from the CD. I can do other stuff like create the premade teapot and initialise lighting, but how do I get the textures working.

LoadDIBitmap looks a tad win32.

Nutty
02-05-2001, 05:01 AM
Do you mean auxDIBImageLoad?

If so then you need to include

<GL/glaux.h>

and link in

glaux.lib