diff options
Diffstat (limited to 'indra/llrender/llgl.cpp')
| -rw-r--r-- | indra/llrender/llgl.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp index 0e59c449db..4584ed1d86 100644 --- a/indra/llrender/llgl.cpp +++ b/indra/llrender/llgl.cpp @@ -2370,12 +2370,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 |
