summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-10-18 19:35:04 +0800
committerErik Kundiman <erik@megapahit.org>2024-10-18 20:23:09 +0800
commit7bde555dde67829e27b26161e3f58bdcc193a024 (patch)
tree3ec6d66bd523415d49642d8f355bd946d17390e8 /indra/llrender/llrender.cpp
parentd353111de315f9d37bf914b54a52d217c45a6e19 (diff)
parentceca01eb37ea7c56be87474b6488eecdf0b7c893 (diff)
Merge branch 'main' into 2024.09-ExtraFPS
Diffstat (limited to 'indra/llrender/llrender.cpp')
-rw-r--r--indra/llrender/llrender.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index 2c75a177f7..db3a04c581 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -2031,9 +2031,11 @@ void LLRender::debugTexUnits(void)
case LLTexUnit::TT_TEXTURE:
LL_CONT << "Texture 2D";
break;
+#if GL_VERSION_3_1
case LLTexUnit::TT_RECT_TEXTURE:
LL_CONT << "Texture Rectangle";
break;
+#endif
case LLTexUnit::TT_CUBE_MAP:
LL_CONT << "Cube Map";
break;