Renamed futher uint/ushort instances.
This commit is contained in:
parent
bd506b53da
commit
77fee92d71
@ -187,19 +187,19 @@ class SG_EXPORT Texture : public osg::StateAttribute
|
||||
|
||||
/** Get the handle to the texture object for the current context.*/
|
||||
/** return the OpenGL texture object for specified context.*/
|
||||
inline GLuint& getTextureObject(uint contextID) const
|
||||
inline GLuint& getTextureObject(unsigned int contextID) const
|
||||
{
|
||||
// get the globj for the current contextID.
|
||||
return _handleList[contextID];
|
||||
}
|
||||
|
||||
inline uint& getModifiedTag(uint contextID) const
|
||||
inline unsigned int& getModifiedTag(unsigned int contextID) const
|
||||
{
|
||||
// get the modified tag for the current contextID.
|
||||
return _modifiedTag[contextID];
|
||||
}
|
||||
|
||||
inline uint& getTextureParameterDirty(uint contextID) const
|
||||
inline unsigned int& getTextureParameterDirty(unsigned int contextID) const
|
||||
{
|
||||
// get the dirty flag for the current contextID.
|
||||
return _texParametersDirtyList[contextID];
|
||||
@ -216,11 +216,11 @@ class SG_EXPORT Texture : public osg::StateAttribute
|
||||
* OpenGL texture objects to cached until they can be deleted
|
||||
* by the OpenGL context in which they were created, specified
|
||||
* by contextID.*/
|
||||
static void deleteTextureObject(uint contextID,GLuint handle);
|
||||
static void deleteTextureObject(unsigned int contextID,GLuint handle);
|
||||
|
||||
/** flush all the cached display list which need to be deleted
|
||||
* in the OpenGL context related to contextID.*/
|
||||
static void flushDeletedTextureObjects(uint contextID);
|
||||
static void flushDeletedTextureObjects(unsigned int contextID);
|
||||
|
||||
/** Texture is pure virtual base class, apply must be overriden. */
|
||||
virtual void apply(State& state) const = 0;
|
||||
|
@ -139,7 +139,7 @@ void Drawable::compile(State& state) const
|
||||
unsigned int contextID = state.getContextID();
|
||||
|
||||
// get the globj for the current contextID.
|
||||
uint& globj = _globjList[contextID];
|
||||
GLuint& globj = _globjList[contextID];
|
||||
|
||||
// call the globj if already set otherwise comple and execute.
|
||||
if( globj != 0 )
|
||||
|
@ -811,7 +811,7 @@ void GeoSet::setInterleavedArray( InterleaveArrayType format, float *pointer )
|
||||
}
|
||||
|
||||
|
||||
void GeoSet::setInterleavedArray( InterleaveArrayType format, float *ia, ushort *iai )
|
||||
void GeoSet::setInterleavedArray( InterleaveArrayType format, float *ia, unsigned short *iai )
|
||||
{
|
||||
_iaformat = format;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user