summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender2dutils.cpp
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2024-08-06 09:21:19 -0400
committerGitHub <noreply@github.com>2024-08-06 16:21:19 +0300
commit75455d101c9535d0d45aa0f505f888f4ba3de64d (patch)
tree3fdef7aedddb1034d986eb5d017e048e4c5b950c /indra/llrender/llrender2dutils.cpp
parentdb376f2ace28b199749796520966b6e9884985d6 (diff)
Convert LLUI and LLRender2D to LLSimpleton to reduce overhead during ui draw (#2202)
Diffstat (limited to 'indra/llrender/llrender2dutils.cpp')
-rw-r--r--indra/llrender/llrender2dutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llrender2dutils.cpp b/indra/llrender/llrender2dutils.cpp
index 176c7a5d2c..428370057e 100644
--- a/indra/llrender/llrender2dutils.cpp
+++ b/indra/llrender/llrender2dutils.cpp
@@ -726,7 +726,7 @@ void gl_line_3d( const LLVector3& start, const LLVector3& end, const LLColor4& c
}
gGL.end();
- LLRender2D::getInstance()->setLineWidth(1.f);
+ LLRender2D::setLineWidth(1.f);
}
void gl_arc_2d(F32 center_x, F32 center_y, F32 radius, S32 steps, bool filled, F32 start_angle, F32 end_angle)