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