diff options
author | Rye Cogtail <rye@lindenlab.com> | 2024-10-01 02:56:01 -0400 |
---|---|---|
committer | Rye Cogtail <rye@lindenlab.com> | 2024-10-01 02:56:01 -0400 |
commit | f3df004180ce9494d9d0e8b6d4841b226b2a3a53 (patch) | |
tree | 3413e3272beff8f043baf58f39378df5787c9d5a | |
parent | fa1b00dbdd2fa1648a8949bd76aa1766cd69ca41 (diff) |
Enable GL debug output support for linux
-rw-r--r-- | indra/llrender/llrender.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp index 565071ff0d..3b74d360d0 100644 --- a/indra/llrender/llrender.cpp +++ b/indra/llrender/llrender.cpp @@ -38,7 +38,7 @@ #include "hbxxh.h" #include "glm/gtc/type_ptr.hpp" -#if LL_WINDOWS +#if GL_ARB_debug_output && !LL_DARWIN extern void APIENTRY gl_debug_callback(GLenum source, GLenum type, GLuint id, @@ -866,7 +866,7 @@ LLRender::~LLRender() bool LLRender::init(bool needs_vertex_buffer) { -#if LL_WINDOWS +#if GL_ARB_debug_output && !LL_DARWIN if (gGLManager.mHasDebugOutput && gDebugGL) { //setup debug output callback //glDebugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_LOW_ARB, 0, NULL, GL_TRUE); |