Michał Król wrote: > On 01/08/06, Brian Paul <[EMAIL PROTECTED]> wrote: > >>Michal Krol wrote: >> >>>CVSROOT: /cvs/mesa >>>Module name: Mesa >>>Repository: Mesa/include/GL/ >>>Changes by: [EMAIL PROTECTED] 06/08/01 17:56:27 >>> >>>Log message: >>> Fix GL_MESA_shader_debug for glut.h. >> >>You should be using GLuint instead of unsigned int. >> > > > GLhandleARB is defined as unsigned int. The way it is now > is not good, MESA_shader_debug depends on ARB_shader_objects, > which in turn is defined in glext. > I will have to make some #ifdefs that exclude the extension > for glut builds.
You should be able to use GLhandleARB in your prototypes since gl.h includes glext.h before the GL_MESA_shader_debug stuff. The only problem would be if GL_GLEXT_LEGACY is defined. You could wrap all the GL_MESA_shader_debug lines inside #ifdef GL_ARB_shader_objects / #endif too. -Brian ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
