1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 22:20:33 +00:00

Merge branch 'shhh-macs-stop-yelling' into 'master'

Hide macro usage from Macs where it isn't defined

See merge request OpenMW/openmw!655
This commit is contained in:
psi29a 2021-03-14 10:08:58 +00:00
commit 89aed67e2b

View File

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