Skip to content

Commit 70806ca

Browse files
committed
Fix: MacOS debug build
1 parent 0ccffe0 commit 70806ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/atta/graphics/apis/openGL/openGLAPI.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ void OpenGLAPI::startUp() {
3434
LOG_INFO("gfx::gl::OpenGLAPI", " - Renderer: [*w]$0", glGetString(GL_RENDERER));
3535
LOG_INFO("gfx::gl::OpenGLAPI", " - Version: [*w]$0", glGetString(GL_VERSION));
3636

37-
#if defined(ATTA_DEBUG_BUILD) && !defined(ATTA_OS_WEB)
38-
// Enable Debug
37+
#if defined(ATTA_DEBUG_BUILD) && !defined(ATTA_OS_WEB) && !defined(ATTA_OS_MACOS)
3938
glEnable(GL_DEBUG_OUTPUT);
4039
glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
4140
glDebugMessageCallback(

0 commit comments

Comments
 (0)