summaryrefslogtreecommitdiff
path: root/indra/llrender/llvertexbuffer.h
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-06 10:51:41 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-06 10:51:41 +0800
commit6b3198347f0b48738d3ebaab2c415f1d12cd525f (patch)
treefc39e65ec7a88c4eea25259431b6ac2e6cf29550 /indra/llrender/llvertexbuffer.h
parent93a309edb2e824514b832f0970ca1927522afc63 (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.h2
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;