[gtk/wip/alexl/gl-debug] fixup! GdkGLContext: Add internal functions for KHR_DEBUG calls
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/alexl/gl-debug] fixup! GdkGLContext: Add internal functions for KHR_DEBUG calls
- Date: Wed, 24 Apr 2019 11:44:06 +0000 (UTC)
commit 3a0d0ade2af9a4c67fa48f96fb1380099cd74c99
Author: Alexander Larsson <alexl redhat com>
Date: Wed Apr 24 13:43:46 2019 +0200
fixup! GdkGLContext: Add internal functions for KHR_DEBUG calls
gdk/gdkglcontext.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index 49e57cce28..6e019654ee 100644
--- a/gdk/gdkglcontext.c
+++ b/gdk/gdkglcontext.c
@@ -442,7 +442,7 @@ gdk_gl_context_push_debug_group (GdkGLContext *context,
GdkGLContextPrivate *priv = gdk_gl_context_get_instance_private (context);
if (priv->has_khr_debug)
- glPushDebugGroupKHR(GL_DEBUG_SOURCE_APPLICATION, 0, -1, message);
+ glPushDebugGroupKHR (GL_DEBUG_SOURCE_APPLICATION, 0, -1, message);
}
void
@@ -460,7 +460,7 @@ gdk_gl_context_push_debug_group_printf (GdkGLContext *context,
message = g_strdup_vprintf (format, args);
va_end (args);
- glPushDebugGroupKHR(GL_DEBUG_SOURCE_APPLICATION, 0, -1, message);
+ glPushDebugGroupKHR (GL_DEBUG_SOURCE_APPLICATION, 0, -1, message);
g_free (message);
}
}
@@ -471,7 +471,7 @@ gdk_gl_context_pop_debug_group (GdkGLContext *context)
GdkGLContextPrivate *priv = gdk_gl_context_get_instance_private (context);
if (priv->has_khr_debug)
- glPopDebugGroupKHR();
+ glPopDebugGroupKHR ();
}
void
@@ -483,7 +483,7 @@ gdk_gl_context_label_object (GdkGLContext *context,
GdkGLContextPrivate *priv = gdk_gl_context_get_instance_private (context);
if (priv->has_khr_debug)
- glObjectLabel(identifier, name, -1, label);
+ glObjectLabel (identifier, name, -1, label);
}
void
@@ -503,7 +503,7 @@ gdk_gl_context_label_object_printf (GdkGLContext *context,
message = g_strdup_vprintf (format, args);
va_end (args);
- glObjectLabel(identifier, name, -1, message);
+ glObjectLabel (identifier, name, -1, message);
g_free (message);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]