diff options
author | Dave Parks <davep@lindenlab.com> | 2010-12-10 15:18:26 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-12-10 15:18:26 -0600 |
commit | 0ae6e2b451e9dc71800740240a615d934c91e581 (patch) | |
tree | a623d7c70addd51d768a7ebca61304894eb6de00 /indra/llrender | |
parent | e0188f916d2f0d2ccad01d407b9f90e9094b05b7 (diff) |
Reskin model importer according to latest spec, add extra LoD decimation parameters.
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llvertexbuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llvertexbuffer.h b/indra/llrender/llvertexbuffer.h index 953b7e6757..f40f013306 100644 --- a/indra/llrender/llvertexbuffer.h +++ b/indra/llrender/llvertexbuffer.h @@ -198,7 +198,7 @@ public: U8* getIndicesPointer() const { return useVBOs() ? (U8*) mAlignedIndexOffset : mMappedIndexData; } U8* getVerticesPointer() const { return useVBOs() ? (U8*) mAlignedOffset : mMappedData; } U32 getTypeMask() const { return mTypeMask; } - BOOL hasDataType(S32 type) const { return ((1 << type) & getTypeMask()) ? TRUE : FALSE; } + bool hasDataType(S32 type) const { return ((1 << type) & getTypeMask()); } S32 getSize() const; S32 getIndicesSize() const { return mNumIndices * sizeof(U16); } U8* getMappedData() const { return mMappedData; } |