Sandro Cavazzoni wrote: > Yes, you're right but it don't work. > I've already try it without success. > > My header now is: > > //#ifdef _APPLE_OPENGL_FRAMEWORK > //#include <OpenGL/gl.h> > //#include <OpenGL/glu.h> > //#else > #define GL_GLEXT_PROTOTYPES 1 > #include <GL/gl.h> > #include <GL/glu.h> > //#endif > > and i have always the same output. > I try to analize the glext.h and i see this: > > ----------------------------------- from glext.h > #ifndef GL_VERSION_2_0 > #define GL_VERSION_2_0 1 > #ifdef GL_GLEXT_PROTOTYPES > > The GL_GLEXT_PROTOTYPES definition was checked only if GL_VERSION_2_0 > wasn't defined before. > It's possible GL_VERSION_2_0 is already defined? (due a bug?)
This should have worked. Are you sure you're using Mesa's gl.h and glext.h and not some older versions? You could try putting some garbage characters into glext.h near the 2.0 prototypes to see if the compiler is really reading that file. -Brian ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
