summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2021-09-21 17:46:11 -0700
committerPtolemy <ptolemy@lindenlab.com>2021-09-21 17:46:11 -0700
commitd03ade68d36525a8b7abc0a783636cebda006ef4 (patch)
treea058633fae18cfff9bb3e0688ccbdea8fb558a1d /indra/llrender
parenta35544c701b223ba08f0607c872d8afbb08114f5 (diff)
SL-16027: Only enable Tracy OpengL macros if Tracy is enabled
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llglheaders.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llglheaders.h b/indra/llrender/llglheaders.h
index e7f9315d11..3d93cc0762 100644
--- a/indra/llrender/llglheaders.h
+++ b/indra/llrender/llglheaders.h
@@ -812,7 +812,7 @@ extern void glGetBufferPointervARB (GLenum, GLenum, GLvoid* *);
#define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
#endif
-#if LL_PROFILER_ENABLE_TRACY_OPENGL
+#if defined(TRACY_ENABLE) && LL_PROFILER_ENABLE_TRACY_OPENGL
// Tracy uses the following:
// glGenQueries
// glGetQueryiv