diff options
| author | Howard Stearns <aech@lindenlab.com> | 2022-09-09 18:47:16 +0000 |
|---|---|---|
| committer | Howard Stearns <aech@lindenlab.com> | 2022-09-09 18:47:16 +0000 |
| commit | 765a99d238da80bcf705f58f8e8d6082050c0260 (patch) | |
| tree | 88de597a5cf75720f90a0d512fda89860c5a2e3e /indra/newview/llreflectionmapmanager.cpp | |
| parent | dfe19c257dbb9d5af6f1e2961015e95847525412 (diff) | |
| parent | c9565d6493887b1518465e8a666a75bbe9878f1d (diff) | |
Merged in SL-17967 (pull request #1113)
SL-17967 require 4.1 core profile
Diffstat (limited to 'indra/newview/llreflectionmapmanager.cpp')
| -rw-r--r-- | indra/newview/llreflectionmapmanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llreflectionmapmanager.cpp b/indra/newview/llreflectionmapmanager.cpp index 677e920031..97277ee798 100644 --- a/indra/newview/llreflectionmapmanager.cpp +++ b/indra/newview/llreflectionmapmanager.cpp @@ -725,14 +725,14 @@ void LLReflectionMapManager::updateUniforms() //copy rpd into uniform buffer object if (mUBO == 0) { - glGenBuffersARB(1, &mUBO); + glGenBuffers(1, &mUBO); } { LL_PROFILE_ZONE_NAMED_CATEGORY_DISPLAY("rmmsu - update buffer"); - glBindBufferARB(GL_UNIFORM_BUFFER, mUBO); - glBufferDataARB(GL_UNIFORM_BUFFER, sizeof(ReflectionProbeData), &rpd, GL_STREAM_DRAW); - glBindBufferARB(GL_UNIFORM_BUFFER, 0); + glBindBuffer(GL_UNIFORM_BUFFER, mUBO); + glBufferData(GL_UNIFORM_BUFFER, sizeof(ReflectionProbeData), &rpd, GL_STREAM_DRAW); + glBindBuffer(GL_UNIFORM_BUFFER, 0); } } |
