summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Brüschweiler <blei42@gmail.com>2013-03-08 20:35:39 +0100
committerKristian Høgsberg <krh@bitplanet.net>2013-03-18 22:25:36 -0400
commitf3e39f987275ed1636920d70590bd7e97437d1de (patch)
treef626b3d55f3839d26aa26cf64f104bd2352d7f40
parent483243fa67ca5131b7dd198011b86afc3cbe7837 (diff)
pixman-renderer: don't forget to initialize the debug fields
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=61930
-rw-r--r--src/pixman-renderer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pixman-renderer.c b/src/pixman-renderer.c
index 9571f6f2..9dbe9f0f 100644
--- a/src/pixman-renderer.c
+++ b/src/pixman-renderer.c
@@ -485,6 +485,8 @@ pixman_renderer_init(struct weston_compositor *ec)
if (renderer == NULL)
return -1;
+ renderer->repaint_debug = 0;
+ renderer->debug_color = NULL;
renderer->base.read_pixels = pixman_renderer_read_pixels;
renderer->base.repaint_output = pixman_renderer_repaint_output;
renderer->base.flush_damage = pixman_renderer_flush_damage;