From 9466d6a409d3ca8318ae70462d8e01fbc79a3ba4 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Sun, 14 Mar 2021 03:42:23 +0000 Subject: [PATCH] Hide macro usage from Macs where it isn't defined --- components/debug/gldebug.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/debug/gldebug.cpp b/components/debug/gldebug.cpp index ee7dd608e..37829a8c1 100644 --- a/components/debug/gldebug.cpp +++ b/components/debug/gldebug.cpp @@ -183,7 +183,11 @@ namespace Debug } DebugGroup::DebugGroup(const std::string & message, GLuint id) + #ifdef GL_DEBUG_OUTPUT : mSource(GL_DEBUG_SOURCE_APPLICATION) + #else + : mSource(0x824A) + #endif , mId(id) , mMessage(message) {