diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-06 10:51:41 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-06 10:51:41 +0800 |
commit | 6b3198347f0b48738d3ebaab2c415f1d12cd525f (patch) | |
tree | fc39e65ec7a88c4eea25259431b6ac2e6cf29550 /indra/llrender/llvertexbuffer.h | |
parent | 93a309edb2e824514b832f0970ca1927522afc63 (diff) |
Lose the _ARB suffix from many macros
so the macros can be used on platforms that don't have ARB specs.
Diffstat (limited to 'indra/llrender/llvertexbuffer.h')
-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 3b3fe44984..1dbf271436 100644 --- a/indra/llrender/llvertexbuffer.h +++ b/indra/llrender/llvertexbuffer.h @@ -287,7 +287,7 @@ public: U8* getMappedIndices() const { return mMappedIndexData; } S32 getOffset(S32 type) const { return mOffsets[type]; } S32 getUsage() const { return mUsage; } - bool isWriteable() const { return (mMappable || mUsage == GL_STREAM_DRAW_ARB) ? true : false; } + bool isWriteable() const { return (mMappable || mUsage == GL_STREAM_DRAW) ? true : false; } void draw(U32 mode, U32 count, U32 indices_offset) const; void drawArrays(U32 mode, U32 offset, U32 count) const; |