SL-16027: Only enable Tracy OpengL macros if Tracy is enabled

master
Ptolemy 2021-09-21 17:46:11 -07:00
parent a35544c701
commit d03ade68d3
1 changed files with 1 additions and 1 deletions

View File

@ -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