summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-09-02 19:53:56 -0500
committerDave Parks <davep@lindenlab.com>2022-09-02 19:53:56 -0500
commit00b1fec9601c3618f12cebce551e4ce2b38d7e00 (patch)
tree0e2bdacdab9303c2704f215c44439a7c9313e0fd /indra/llrender/llrender.cpp
parent88e1740d205bdfaa57d1d5dec4e6e9e755eae075 (diff)
SL-17967 Purge OpenGL extensions (use core API only)
Diffstat (limited to 'indra/llrender/llrender.cpp')
-rw-r--r--indra/llrender/llrender.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index 056714b039..1f060b674f 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -1485,16 +1485,9 @@ void LLRender::blendFunc(eBlendFactor color_sfactor, eBlendFactor color_dfactor,
mCurrBlendColorDFactor = color_dfactor;
mCurrBlendAlphaDFactor = alpha_dfactor;
flush();
- if (LLRender::sGLCoreProfile)
- {
- glBlendFuncSeparate(sGLBlendFactor[color_sfactor], sGLBlendFactor[color_dfactor],
+
+ glBlendFuncSeparate(sGLBlendFactor[color_sfactor], sGLBlendFactor[color_dfactor],
sGLBlendFactor[alpha_sfactor], sGLBlendFactor[alpha_dfactor]);
- }
- else
- {
- glBlendFuncSeparateEXT(sGLBlendFactor[color_sfactor], sGLBlendFactor[color_dfactor],
- sGLBlendFactor[alpha_sfactor], sGLBlendFactor[alpha_dfactor]);
- }
}
}