summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2025-10-15 19:00:44 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-10-16 18:40:23 +0300
commit6cdd9cff7057474aa810943a37bed6c4720b4244 (patch)
tree1f0c477ae9c45939dea72cf7e17742108d851cba /indra/newview/pipeline.cpp
parent8679b86cdebed65c116dc02978cbcd83e8da4fa5 (diff)
Fix C26444 compiler warning (creating unnamed RAII instances that could lead to unintended behavior)
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 8b6680ee10..fc66e9283e 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -4340,7 +4340,7 @@ void LLPipeline::renderPhysicsDisplay()
gGL.flush();
gDebugProgram.bind();
- LLGLEnable(GL_POLYGON_OFFSET_LINE);
+ LLGLEnable polygon_offset_line(GL_POLYGON_OFFSET_LINE);
glPolygonOffset(3.f, 3.f);
glLineWidth(3.f);
LLGLEnable blend(GL_BLEND);