multitexturing...

Hello i am trying to use the multitexturing extension but there is a bug : VC++ says that glActiveTextureARB… are unidentified. I use glut so i don’t specify the link from the extension to windows. Someone has an idea ?

Not an advanced topic.
(It’s core functionality since 1.2, I think.)

  • Find a header (glext.h) which has it defined.
  • Or find the extension which defines it and add a prototype and a declaration of a function pointer.
  • Use wglGetProcAddress() to fill the pointer at runtime.
    http://oss.sgi.com/projects/ogl-sample/registry/