summaryrefslogtreecommitdiff
path: root/indra/newview/llface.cpp
diff options
context:
space:
mode:
authorRye <rye@alchemyviewer.org>2025-10-28 22:20:37 -0400
committerRye <rye@alchemyviewer.org>2025-10-31 07:46:07 -0400
commit14bf0509efad36650e6157975cd5e0d77e64183b (patch)
tree2a7692d99ab33cb2b217e211c73cb9750bef802b /indra/newview/llface.cpp
parent3d8cb2343b113a27b856be329b4edd37c74945f1 (diff)
Fix invalid calls to glLineWidth on some linux GL drivers
Signed-off-by: Rye <rye@alchemyviewer.org>
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r--indra/newview/llface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index f08ef8d24a..6f825c6a81 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -646,7 +646,7 @@ void LLFace::renderOneWireframe(const LLColor4 &color, F32 fogCfx, bool wirefram
LLGLEnable offset(GL_POLYGON_OFFSET_LINE);
glPolygonOffset(3.f, 3.f);
- glLineWidth(5.f);
+ gGL.setLineWidth(5.f);
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
renderFace(mDrawablep, this);
}