Revision: 50326
          http://brlcad.svn.sourceforge.net/brlcad/?rev=50326&view=rev
Author:   starseeker
Date:     2012-04-26 18:36:39 +0000 (Thu, 26 Apr 2012)
Log Message:
-----------
pull the OGL wrapping from trunk for axes.c

Modified Paths:
--------------
    brlcad/branches/STABLE/src/libdm/axes.c

Modified: brlcad/branches/STABLE/src/libdm/axes.c
===================================================================
--- brlcad/branches/STABLE/src/libdm/axes.c     2012-04-26 18:07:17 UTC (rev 
50325)
+++ brlcad/branches/STABLE/src/libdm/axes.c     2012-04-26 18:36:39 UTC (rev 
50326)
@@ -57,6 +57,7 @@
     /* set color */
     DM_SET_FGCOLOR(dmp, gdasp->gdas_color[0], gdasp->gdas_color[1], 
gdasp->gdas_color[2], 1, 1.0);
 
+#if defined(IF_OGL) || defined(IF_WGL)
     if (gdasp->gdas_draw > 1) {
        if (dmp->dm_light)
            glDisable(GL_LIGHTING);
@@ -70,6 +71,7 @@
 
        return;
     }
+#endif
 
     points = (point_t *)bu_calloc(npoints, sizeof(point_t), "data axes 
points");
     halfAxesSize = gdasp->gdas_size * 0.5;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
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/
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to