Hi.

I have some problems with compiling code using 3D textures. My compiler complains exactly on function glTexImage3D. I iclude all necessary headers:
Qt Code:
  1. #include <GL/gl.h>
  2. #include <GL/glu.h>
  3. #include <GL/glext.h>
To copy to clipboard, switch view to plain text mode 

and i get theese errors:
Qt Code:
  1. GlClass.cpp: In member function `virtual void GlClass::initializeGL()':
  2. GlClass.cpp:35: error: `glTexImage3D' was not declared in this scope
  3. GlClass.cpp:35: warning: unused variable 'glTexImage3D'
To copy to clipboard, switch view to plain text mode 

I know that I have my system configured properly because I can compile simple programs without qt that use 3D textures. I wonder if it's some qt's opengl limitation because 2D textures work fine. I use qt 4.

Thanks for help.