From 4f549999f5485b8d2bd8d8236f7277fa3f222b6f Mon Sep 17 00:00:00 2001 From: MihailRis Date: Mon, 21 Jul 2025 19:30:30 +0300 Subject: [PATCH] temporary fix --- src/window/detail/GLFWWindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/window/detail/GLFWWindow.cpp b/src/window/detail/GLFWWindow.cpp index 9a99405d..cbf628af 100644 --- a/src/window/detail/GLFWWindow.cpp +++ b/src/window/detail/GLFWWindow.cpp @@ -96,8 +96,10 @@ static bool initialize_gl(int width, int height) { } } +#ifndef __APPLE__ glEnable(GL_DEBUG_OUTPUT); glDebugMessageCallback(gl_message_callback, 0); +#endif glViewport(0, 0, width, height); glClearColor(0.0f, 0.0f, 0.0f, 1); @@ -669,10 +671,13 @@ std::tuple< } init_gl_extensions_list(); + + #ifndef __APPLE__ if (is_gl_extension_supported("GL_KHR_debug")) { glEnable(GL_DEBUG_OUTPUT); glDebugMessageCallback(gl_message_callback, nullptr); } + #endif glViewport(0, 0, width, height); glClearColor(0.0f, 0.0f, 0.0f, 1);