We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9d15b7 commit a20cae2Copy full SHA for a20cae2
1 file changed
libopenage/gui/guisys/private/opengl_debug_logger.cpp
@@ -5,6 +5,14 @@
5
#include <QOpenGLContext>
6
#include <QOpenGLFunctions_4_4_Core>
7
8
+#ifdef __APPLE__
9
+// from https://www.khronos.org/registry/OpenGL/api/GL/glext.h
10
+#define GL_DEBUG_CALLBACK_FUNCTION 0x8244
11
+#define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
12
+#define GL_DEBUG_TYPE_ERROR 0x824C
13
+#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
14
+#endif
15
+
16
namespace qtsdl {
17
18
gl_debug_parameters get_current_opengl_debug_parameters(const QOpenGLContext ¤t_source_context) {
0 commit comments