summaryrefslogtreecommitdiff
path: root/indra/llrender/llgl.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2026-07-25 13:15:43 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2026-07-25 13:15:43 +0300
commit398bf4f76a275ac08524f6218a707251b171271e (patch)
tree31ed47010ec5db0afac932b1c1d87b4a3fd75c75 /indra/llrender/llgl.cpp
parent34b74530d216a1edc5dfffe327baa615e3654460 (diff)
parent92154ed36ffddac349ac2336a3cc5a1eb6eebb72 (diff)
Merge branch 'release/26.3' into marchcat/slua-26.3
# Conflicts: # indra/llrender/llimagegl.cpp # indra/llrender/llimagegl.h # indra/newview/featuretable.txt # indra/newview/featuretable_linux.txt # indra/newview/featuretable_mac.txt
Diffstat (limited to 'indra/llrender/llgl.cpp')
-rw-r--r--indra/llrender/llgl.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp
index b43f448305..5357a79bae 100644
--- a/indra/llrender/llgl.cpp
+++ b/indra/llrender/llgl.cpp
@@ -2423,12 +2423,6 @@ void clear_glerror()
glGetError();
}
-void drain_glerror()
-{
- // bounded: a lost/reset context can return errors indefinitely
- for (S32 i = 0; i < 16 && glGetError() != GL_NO_ERROR; ++i) {}
-}
-
///////////////////////////////////////////////////////////////
//
// LLGLState