summaryrefslogtreecommitdiff
path: root/indra/llrender/llgl.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-06-06 09:34:28 +0800
committerErik Kundiman <erik@megapahit.org>2024-06-06 09:34:28 +0800
commitf3eb7559d62fbbee940ac89f34519cc39ea6c91d (patch)
treead1623f571058a4e0a1c16a213739768c405c568 /indra/llrender/llgl.cpp
parent3f12069fb1df21781ad97b719cc6dbe86ea11b89 (diff)
Change LL_FREEBSD to already existing __FreeBSD__
So we don't need to have a custom environment -DLL_FREEBSD=1 setting.
Diffstat (limited to 'indra/llrender/llgl.cpp')
-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 14dd60eaa2..10920f1de3 100644
--- a/indra/llrender/llgl.cpp
+++ b/indra/llrender/llgl.cpp
@@ -1164,7 +1164,7 @@ bool LLGLManager::initGL()
mIsNVIDIA = TRUE;
}
else if (mGLVendor.find("INTEL") != std::string::npos
-#if LL_LINUX || LL_FREEBSD
+#if LL_LINUX || __FreeBSD__
// The Mesa-based drivers put this in the Renderer string,
// not the Vendor string.
|| mGLRenderer.find("INTEL") != std::string::npos