summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2021-11-30 11:19:41 -0700
committerDave Houlton <euclid@lindenlab.com>2021-11-30 17:04:35 -0700
commit5fcea00c4f88561021fa2ab4ee8d72fff2b5ff83 (patch)
tree22d54be7991f71807fc7262c0b9d79173e375d50 /indra/llrender
parent68e09edad0d863d57ba06e2842b9399f3ff21618 (diff)
SL-16386 purge no-op fxn LLTexUnit::setTextureBlendType()
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llrender.cpp9
-rw-r--r--indra/llrender/llrender.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index 899c61ccb7..14abd9b83e 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -137,11 +137,6 @@ void LLTexUnit::refreshState(void)
glBindTexture(GL_TEXTURE_2D, 0);
}
- if (mCurrBlendType != TB_COMBINE)
- {
- setTextureBlendType(mCurrBlendType);
- }
-
setTextureColorSpace(mTexColorSpace);
}
@@ -540,10 +535,6 @@ void LLTexUnit::setTextureFilteringOption(LLTexUnit::eTextureFilterOptions optio
}
}
-void LLTexUnit::setTextureBlendType(eTextureBlendType type)
-{
-}
-
GLint LLTexUnit::getTextureSource(eTextureBlendSrc src)
{
switch(src)
diff --git a/indra/llrender/llrender.h b/indra/llrender/llrender.h
index 42aca6e665..2feb8f955b 100644
--- a/indra/llrender/llrender.h
+++ b/indra/llrender/llrender.h
@@ -201,8 +201,6 @@ public:
// make sure you want to permanently change the filtering for the bound texture.
void setTextureFilteringOption(LLTexUnit::eTextureFilterOptions option);
- void setTextureBlendType(eTextureBlendType type);
-
inline void setTextureColorBlend(eTextureBlendOp op, eTextureBlendSrc src1, eTextureBlendSrc src2 = TBS_PREV_COLOR)
{ /* setTextureCombiner(op, src1, src2, false); */ }