1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-17 10:10:23 +00:00

Hide macro usage from Macs where it isn't defined

This commit is contained in:
AnyOldName3 2021-03-14 03:42:23 +00:00
parent 514a55ed4c
commit 9466d6a409

View File

@ -183,7 +183,11 @@ namespace Debug
} }
DebugGroup::DebugGroup(const std::string & message, GLuint id) DebugGroup::DebugGroup(const std::string & message, GLuint id)
#ifdef GL_DEBUG_OUTPUT
: mSource(GL_DEBUG_SOURCE_APPLICATION) : mSource(GL_DEBUG_SOURCE_APPLICATION)
#else
: mSource(0x824A)
#endif
, mId(id) , mId(id)
, mMessage(message) , mMessage(message)
{ {