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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user