diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-06 10:17:38 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-06 10:17:38 +0800 |
commit | 5c3c491537e58cb884b74694cc7453eef89d8515 (patch) | |
tree | 67a84593be88c92c94b28ff25d6edec908d466b3 /indra/newview | |
parent | f6b4f7bfd6c338c44dfbfb07479113075172d929 (diff) |
Core profile buffer related functions
replacing their legacy ARB counterparts.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llface.cpp | 2 | ||||
-rw-r--r-- | indra/newview/pipeline.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index e1edc38923..a7c8a0987e 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1670,7 +1670,7 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, } } - glBindBufferARB(GL_TRANSFORM_FEEDBACK_BUFFER, 0); + glBindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, 0); gGL.popMatrix(); if (cur_shader) diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index bbff6c889f..63714bd5cb 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -11131,7 +11131,7 @@ void LLPipeline::generateImpostor(LLVOAvatar* avatar, bool preview_avatar) { GLuint buff = GL_COLOR_ATTACHMENT0; LL_PROFILER_GPU_ZONEC( "gl.DrawBuffersARB", 0x8000FF ); - glDrawBuffersARB(1, &buff); + glDrawBuffers(1, &buff); } LLGLDisable blend(GL_BLEND); |