[gtk/wip/alexl/gl-debug] fixup! GskGLRenderer: Add debug groups
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/alexl/gl-debug] fixup! GskGLRenderer: Add debug groups
- Date: Wed, 24 Apr 2019 11:47:48 +0000 (UTC)
commit bc6da0c2624a1bbbdaf72524aa5a292de0aa5ea5
Author: Alexander Larsson <alexl redhat com>
Date: Wed Apr 24 13:47:28 2019 +0200
fixup! GskGLRenderer: Add debug groups
gsk/gl/gskglrenderops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gl/gskglrenderops.c b/gsk/gl/gskglrenderops.c
index 88ee7513bd..55c51a191e 100644
--- a/gsk/gl/gskglrenderops.c
+++ b/gsk/gl/gskglrenderops.c
@@ -52,7 +52,7 @@ ops_push_debug_group (RenderOpBuilder *builder,
op.op = OP_PUSH_DEBUG_GROUP;
strncpy (op.debug_group.text, text, sizeof(op.debug_group.text) - 1);
- op.debug_group.text[sizeof(op.debug_group.text)] = 0; /* Ensure zero terminated */
+ op.debug_group.text[sizeof(op.debug_group.text) - 1] = 0; /* Ensure zero terminated */
g_array_append_val (builder->render_ops, op);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]