From: Brian P. <br...@vm...> - 2009-08-04 15:12:10
|
vinit bansal wrote: > Hi Brian, > I have one basic question. > I am using MESA 7.4 in my test application which uses openGL 1.1 as well > as 2.0 program. > > I am little confused about when to include <gl.h> and when <glext.h> > > My understanding is: > for openGL 1.1/1.2/1.3 include<gl.h> > > otherwise for higher version: > include <glext.h> > > just like we have gl.h and gl2.h, same in MESA we have gl.h and glext.h? > > correct me if i am wrong. glext.h is included by gl.h so all you ever have to include is gl.h. At least that's the way it's supposed to work. I haven't looked at other vendors' gl.h headers in a while. -Brian |