i don't like that kind of stuff at all (not only your commit, but the inclusion of specific gl headers).
Vincent On Mon, May 21, 2012 at 10:01 AM, Enlightenment SVN <[email protected]> wrote: > Log: > Separated checks for gl2.h defines and gl2ext.h defines in Evas_GL.h. > > > Author: sung > Date: 2012-05-21 01:01:28 -0700 (Mon, 21 May 2012) > New Revision: 71270 > Trac: http://trac.enlightenment.org/e/changeset/71270 > > Modified: > trunk/evas/src/lib/Evas_GL.h > > Modified: trunk/evas/src/lib/Evas_GL.h > =================================================================== > --- trunk/evas/src/lib/Evas_GL.h 2012-05-21 07:51:41 UTC (rev 71269) > +++ trunk/evas/src/lib/Evas_GL.h 2012-05-21 08:01:28 UTC (rev 71270) > @@ -1038,6 +1038,17 @@ > > #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 > > +#else > +# ifndef EVAS_GL_NO_GL_H_CHECK > +# error "You may only include either Evas_GL.h OR use your native OpenGL's > headers. If you use Evas to do GL, then you cannot use the native gl headers." > +# endif > +#endif > + > + > +#if !defined(__glext_h_) && !defined(__gl2ext_h_) > +# define __glext_h_ > +# define __gl2ext_h_ > + > //---------------------------// > // GLES extension defines > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-svn mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
