summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-05-09 10:27:21 +0800
committerErik Kundiman <erik@megapahit.org>2024-05-09 10:27:21 +0800
commitd38cbd7976596f5ca9c2fd4d425deacab2feb19d (patch)
treeef5e17c6bb8d613b9cc8f9c55f1f8c5f961b427f
parent41fbaed7a69d68651b32062cac0ed5c1d8008bb8 (diff)
Remove ARB suffix from macros for more portability
-rw-r--r--indra/llrender/llgl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp
index fe394de3cc..506159a9e2 100644
--- a/indra/llrender/llgl.cpp
+++ b/indra/llrender/llgl.cpp
@@ -95,9 +95,9 @@ void APIENTRY gl_debug_callback(GLenum source,
}*/
if (gGLManager.mIsDisabled &&
- severity == GL_DEBUG_SEVERITY_HIGH_ARB &&
- source == GL_DEBUG_SOURCE_API_ARB &&
- type == GL_DEBUG_TYPE_ERROR_ARB &&
+ severity == GL_DEBUG_SEVERITY_HIGH &&
+ source == GL_DEBUG_SOURCE_API &&
+ type == GL_DEBUG_TYPE_ERROR &&
id == GL_INVALID_VALUE)
{
// Suppress messages about deleting already deleted objects called from LLViewerWindow::stopGL()