From 0c9b652f317893d050beb58431a41fb7b07e7f63 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 11 Apr 2003 15:33:40 +0000 Subject: [PATCH] Changed the uint arrays to GLuint to keep OSX build compiling. --- src/osgPlugins/iv/osgvisitor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/osgPlugins/iv/osgvisitor.cpp b/src/osgPlugins/iv/osgvisitor.cpp index ee78dc64d..09be287fd 100644 --- a/src/osgPlugins/iv/osgvisitor.cpp +++ b/src/osgPlugins/iv/osgvisitor.cpp @@ -187,8 +187,8 @@ osg::PrimitiveSet *generatePrimitive(PolygonList &polys, unsigned primsize, unsi } // Now will generate the indices and the primitive if (numvertices < 65536) { - unsigned short *indices=new unsigned short[count*primsize]; - unsigned count2=0; + GLushort *indices=new GLushort[count*primsize]; + unsigned int count2=0; for (i=0;i