summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-06 13:57:29 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-06 13:57:29 +0800
commit68c8e3e8f1d66c656bd6c1c014e13945f6998749 (patch)
treee8c53b7683439bdb4da1d0e3b31dd5875855039d
parent211ab43ba2cd23052534ac6817309c52969590d1 (diff)
Re-exclude FBSD test on Nvidia headers
to minimise difference from upstream, as it's certain it's not FreeBSD anyway due to the removal of LL_FREEBSD on the containing scope.
-rw-r--r--indra/llrender/llgl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp
index 216b499674..6449fcdf33 100644
--- a/indra/llrender/llgl.cpp
+++ b/indra/llrender/llgl.cpp
@@ -1312,7 +1312,7 @@ void LLGLManager::initExtensions()
glDebugMessageCallbackARB = (PFNGLDEBUGMESSAGECALLBACKARBPROC) GLH_EXT_GET_PROC_ADDRESS("glDebugMessageCallbackARB");
glGetDebugMessageLogARB = (PFNGLGETDEBUGMESSAGELOGARBPROC) GLH_EXT_GET_PROC_ADDRESS("glGetDebugMessageLogARB");
}
-#if (!LL_LINUX && !LL_FREEBSD) || LL_LINUX_NV_GL_HEADERS
+#if (!LL_LINUX) || LL_LINUX_NV_GL_HEADERS
// This is expected to be a static symbol on Linux GL implementations, except if we use the nvidia headers - bah
glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)GLH_EXT_GET_PROC_ADDRESS("glDrawRangeElements");
if (!glDrawRangeElements)