Revision: 57183
          http://sourceforge.net/p/brlcad/code/57183
Author:   n_reed
Date:     2013-08-27 18:40:57 +0000 (Tue, 27 Aug 2013)
Log Message:
-----------
distinguish between indexing and dereferencing

Modified Paths:
--------------
    brlcad/trunk/src/libdm/dm-ogl.c
    brlcad/trunk/src/libdm/dm-wgl.c

Modified: brlcad/trunk/src/libdm/dm-ogl.c
===================================================================
--- brlcad/trunk/src/libdm/dm-ogl.c     2013-08-27 17:26:57 UTC (rev 57182)
+++ brlcad/trunk/src/libdm/dm-ogl.c     2013-08-27 18:40:57 UTC (rev 57183)
@@ -1743,13 +1743,13 @@
                    glVertex3dv(dpt);
                    break;
                case BN_VLIST_LINE_WIDTH:
-                   lineWidth = (GLfloat)pt[0][0];
+                   lineWidth = (GLfloat)(*pt)[0];
                    if (lineWidth > 0.0) {
                        glLineWidth(lineWidth);
                    }
                    break;
                case BN_VLIST_POINT_SIZE:
-                   pointSize = (GLfloat)pt[0][0];
+                   pointSize = (GLfloat)(*pt)[0];
                    if (pointSize > 0.0) {
                        glPointSize(pointSize);
                    }

Modified: brlcad/trunk/src/libdm/dm-wgl.c
===================================================================
--- brlcad/trunk/src/libdm/dm-wgl.c     2013-08-27 17:26:57 UTC (rev 57182)
+++ brlcad/trunk/src/libdm/dm-wgl.c     2013-08-27 18:40:57 UTC (rev 57183)
@@ -1231,13 +1231,13 @@
                    glVertex3dv(dpt);
                    break;
                case BN_VLIST_LINE_WIDTH:
-                   lineWidth = (GLfloat)pt[0][0];
+                   lineWidth = (GLfloat)(*pt)[0];
                    if (lineWidth > 0.0) {
                        glLineWidth(lineWidth);
                    }
                    break;
                case BN_VLIST_POINT_SIZE:
-                   pointSize = (GLfloat)pt[0][0];
+                   pointSize = (GLfloat)(*pt)[0];
                    if (pointSize > 0.0) {
                        glPointSize(pointSize);
                    }

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


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to