Tidied up the types in osg::GeoSet so that the index pointers use GLushort

and GLuint to get round compile issues under MacOSX.
This commit is contained in:
Robert Osfield
2002-07-10 22:33:08 +00:00
parent 8b1e9345df
commit 5d18f0ee11
4 changed files with 54 additions and 52 deletions

View File

@@ -481,7 +481,7 @@ public:
{
if (indices==0 || count==0) return;
typedef unsigned char* IndexPointer;
typedef GLubyte* IndexPointer;
switch(mode)
{
@@ -548,7 +548,7 @@ public:
{
if (indices==0 || count==0) return;
typedef unsigned short* IndexPointer;
typedef GLushort* IndexPointer;
switch(mode)
{
@@ -617,7 +617,7 @@ public:
{
if (indices==0 || count==0) return;
typedef unsigned int* IndexPointer;
typedef GLuint* IndexPointer;
switch(mode)
{