Revision: 44573
http://brlcad.svn.sourceforge.net/brlcad/?rev=44573&view=rev
Author: erikgreenwald
Date: 2011-05-05 20:37:52 +0000 (Thu, 05 May 2011)
Log Message:
-----------
use system glext if possible, local copy if not
Modified Paths:
--------------
brlcad/trunk/src/other/togl/src/togl.c
Modified: brlcad/trunk/src/other/togl/src/togl.c
===================================================================
--- brlcad/trunk/src/other/togl/src/togl.c 2011-05-05 20:37:02 UTC (rev
44572)
+++ brlcad/trunk/src/other/togl/src/togl.c 2011-05-05 20:37:52 UTC (rev
44573)
@@ -14,9 +14,15 @@
* Currently we support X11, Win32 and Mac OS X only
*/
+#include "brlcad_config.h"
+
#define USE_TOGL_STUB_PROCS
#include "togl.h"
-#include <GL/glext.h>
+#ifdef HAVE_GL_GLEXT_H
+# include <GL/glext.h>
+#else
+# include "./glext.h"
+#endif
#include <tclInt.h>
#include <tkInt.h>
#include <limits.h>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits