Fixed warnigns

This commit is contained in:
Robert Osfield 2009-10-07 09:39:45 +00:00
parent 69557c060b
commit ae7dfc5796
4 changed files with 15 additions and 5 deletions

View File

@ -197,8 +197,8 @@ class OSG_EXPORT GLBufferObject : public Referenced
}
unsigned int modifiedCount;
GLsizeiptrARB dataSize;
GLsizeiptrARB offset;
unsigned int dataSize;
unsigned int offset;
BufferData* dataSource;
};

View File

@ -520,8 +520,8 @@ BEGIN_VALUE_REFLECTOR(osg::GLBufferObject::BufferEntry)
"",
"");
I_PublicMemberProperty(unsigned int, modifiedCount);
I_PublicMemberProperty(GLsizeiptrARB, dataSize);
I_PublicMemberProperty(GLsizeiptrARB, offset);
I_PublicMemberProperty(unsigned int, dataSize);
I_PublicMemberProperty(unsigned int, offset);
I_PublicMemberProperty(osg::BufferData *, dataSource);
END_REFLECTOR
@ -795,6 +795,11 @@ BEGIN_OBJECT_REFLECTOR(osg::GLBufferObjectSet)
__void__remove__GLBufferObject_P1,
"",
"");
I_Method2(void, moveToSet, IN, osg::GLBufferObject *, to, IN, osg::GLBufferObjectSet *, set,
Properties::NON_VIRTUAL,
__void__moveToSet__GLBufferObject_P1__GLBufferObjectSet_P1,
"",
"");
I_Method0(unsigned int, size,
Properties::NON_VIRTUAL,
__unsigned_int__size,

View File

@ -1043,6 +1043,11 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture::TextureObjectSet)
__void__remove__TextureObject_P1,
"",
"");
I_Method2(void, moveToSet, IN, osg::Texture::TextureObject *, to, IN, osg::Texture::TextureObjectSet *, set,
Properties::NON_VIRTUAL,
__void__moveToSet__TextureObject_P1__TextureObjectSet_P1,
"",
"");
I_Method0(unsigned int, size,
Properties::NON_VIRTUAL,
__unsigned_int__size,