summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-02-10 13:31:57 -0600
committerDave Parks <davep@lindenlab.com>2023-02-10 13:31:57 -0600
commitd0993b737688823efe335a926f52131b444dba00 (patch)
tree811825b6343ed818fff18fb8cd973852d38ee61d /indra/llrender
parentc5c511b8ff9191f40a98907c306fabd8e4f97b78 (diff)
SL-19195 Fix for world map tiles not rendering if empty.
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llrender2dutils.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/llrender/llrender2dutils.cpp b/indra/llrender/llrender2dutils.cpp
index 3d32d3ca31..2d6f3c9469 100644
--- a/indra/llrender/llrender2dutils.cpp
+++ b/indra/llrender/llrender2dutils.cpp
@@ -117,7 +117,6 @@ void gl_rect_2d_offset_local( S32 left, S32 top, S32 right, S32 bottom, S32 pixe
void gl_rect_2d(S32 left, S32 top, S32 right, S32 bottom, BOOL filled )
{
- stop_glerror();
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
// Counterclockwise quad will face the viewer
@@ -142,7 +141,6 @@ void gl_rect_2d(S32 left, S32 top, S32 right, S32 bottom, BOOL filled )
gGL.vertex2i(left, top);
gGL.end();
}
- stop_glerror();
}
void gl_rect_2d(S32 left, S32 top, S32 right, S32 bottom, const LLColor4 &color, BOOL filled )