typedef ptrdiff_t GLintptr;
#endif
+#if !defined(GST_GL_DEBUG_PROC)
+#if defined(GLDEBUGPROC)
+#define GST_GL_DEBUG_PROC GLDEBUGPROC
+#elif defined(GLDEBUGPROCARB)
+#define GST_GL_DEBUG_PROC GLDEBUGPROCARB
+#elif defined(GLDEBUGPROCKHR)
+#define GST_GL_DEBUG_PROC GLDEBUGPROCKHR
+#else
+typedef void (GSTGLAPI *GST_GL_DEBUG_PROC) (GLenum source,
+ GLenum type,
+ GLuint id,
+ GLenum severity,
+ GLsizei length,
+ const gchar* message,
+ gpointer user_data);
+#endif
+#endif
+
#endif
#define __GST_GL_API_H__
#include <gst/gl/gstglconfig.h>
-#include <gst/gl/glprototypes/gstgl_compat.h>
#if GST_GL_HAVE_PLATFORM_EGL
#else
#define GSTGLAPI
#endif
+#include <gst/gl/glprototypes/gstgl_compat.h>
#include <gst/gst.h>