diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-10 10:10:52 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-10 10:10:52 +0800 |
commit | e67022465d8189eb30135b6b7c0fe477b3b91819 (patch) | |
tree | f7582a29b575a64e6dbdc6173c2a04f8fa99a291 /indra/newview/llface.cpp | |
parent | d328f2efb2d22e690a5461f4ba2d2eeb6603ac8f (diff) |
Lose the _ARB suffix from many macros
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r-- | indra/newview/llface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index a7c8a0987e..6619f7d0bd 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1225,7 +1225,7 @@ void LLFace::cacheFaceInVRAM(const LLVolumeFace& vf) mask |= LLVertexBuffer::MAP_WEIGHT4; } - LLVertexBuffer* buff = new LLVertexBuffer(mask, GL_STATIC_DRAW_ARB); + LLVertexBuffer* buff = new LLVertexBuffer(mask, GL_STATIC_DRAW); vf.mVertexBuffer = buff; buff->allocateBuffer(vf.mNumVertices, 0, true); @@ -1535,7 +1535,7 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, #ifdef GL_TRANSFORM_FEEDBACK_BUFFER if (use_transform_feedback && - mVertexBuffer->getUsage() == GL_DYNAMIC_COPY_ARB && + mVertexBuffer->getUsage() == GL_DYNAMIC_COPY && gTransformPositionProgram.mProgramObject && //transform shaders are loaded mVertexBuffer->useVBOs() && //target buffer is in VRAM !rebuild_weights && //TODO: add support for weights |