diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-06 10:04:56 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-06 10:04:56 +0800 |
commit | f6b4f7bfd6c338c44dfbfb07479113075172d929 (patch) | |
tree | 66a089e5a531eb98f1db4045f3d696ee19c8bf30 /indra/llrender/llvertexbuffer.cpp | |
parent | e155e53b290f638d853ed3a027c2c8f064ff8201 (diff) |
Left out from previous commit
Diffstat (limited to 'indra/llrender/llvertexbuffer.cpp')
-rw-r--r-- | indra/llrender/llvertexbuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp index a33436eb90..b48c4f8262 100644 --- a/indra/llrender/llvertexbuffer.cpp +++ b/indra/llrender/llvertexbuffer.cpp @@ -451,14 +451,14 @@ void LLVertexBuffer::setupClientArrays(U32 data_mask) { //was enabled if (!(data_mask & mask)) { //needs to be disabled - glDisableVertexAttribArrayARB(loc); + glDisableVertexAttribArray(loc); } } else { //was disabled if (data_mask & mask) { //needs to be enabled - glEnableVertexAttribArrayARB(loc); + glEnableVertexAttribArray(loc); } } } |