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



commit 300ed21a2880cfe68663d61065ccc7f95e186de4
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]