From 4372c9a33451ef3acd87d4c3caa489fc6f020fc1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 11 Jul 2002 08:28:09 +0000 Subject: [PATCH] changed unsigned int/short/char* references to GLuint,GLushort,GLubyte respectively. --- include/osg/Primitive | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/osg/Primitive b/include/osg/Primitive index 97da7dd0a..5ce234339 100644 --- a/include/osg/Primitive +++ b/include/osg/Primitive @@ -239,7 +239,7 @@ class SG_EXPORT DrawElementsUByte : public Primitive, public VectorUByte Primitive(array,copyop), VectorUByte(array) {} - DrawElementsUByte(GLenum mode,unsigned int no,unsigned char* ptr) : + DrawElementsUByte(GLenum mode,unsigned int no,GLubyte* ptr) : Primitive(DrawElementsUBytePrimitiveType,mode), VectorUByte(ptr,ptr+no) {} @@ -275,7 +275,7 @@ class SG_EXPORT DrawElementsUShort : public Primitive, public VectorUShort Primitive(array,copyop), VectorUShort(array) {} - DrawElementsUShort(GLenum mode,unsigned int no,unsigned short* ptr) : + DrawElementsUShort(GLenum mode,unsigned int no,GLushort* ptr) : Primitive(DrawElementsUShortPrimitiveType,mode), VectorUShort(ptr,ptr+no) {} @@ -310,7 +310,7 @@ class SG_EXPORT DrawElementsUInt : public Primitive, public VectorUInt Primitive(array,copyop), VectorUInt(array) {} - DrawElementsUInt(GLenum mode,unsigned int no,unsigned int* ptr) : + DrawElementsUInt(GLenum mode,unsigned int no,GLuint* ptr) : Primitive(DrawElementsUIntPrimitiveType,mode), VectorUInt(ptr,ptr+no) {}