[gtk+/wip/baedert/gl: 73/94] gl renderer: Don't zero initialize render ops GArray



commit dc93e2a7796d8ed6bc789a00ba99a2178d9e40d4
Author: Timm Bäder <mail baedert org>
Date:   Tue Dec 5 18:05:12 2017 +0100

    gl renderer: Don't zero initialize render ops GArray

 gsk/gl/gskglrenderer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 45a776b..9a559b4 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -1893,7 +1893,7 @@ gsk_gl_renderer_init (GskGLRenderer *self)
 
 
   self->scale_factor = 1;
-  self->render_ops = g_array_new (TRUE, FALSE, sizeof (RenderOp));
+  self->render_ops = g_array_new (FALSE, FALSE, sizeof (RenderOp));
 
 #ifdef G_ENABLE_DEBUG
   {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]