From 2d0f8b77eb1dd41d5690164853b380b55e6aeb84 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Fri, 9 May 2014 15:08:06 +0300 Subject: [PATCH] rpi: build fix for compute_rects debug See 918f2dd4cfb8b177f67b45653efbbe4325cbe9dc Signed-off-by: Pekka Paalanen --- src/rpi-renderer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpi-renderer.c b/src/rpi-renderer.c index 3a7f65cc..c222eb66 100644 --- a/src/rpi-renderer.c +++ b/src/rpi-renderer.c @@ -858,8 +858,8 @@ rpir_view_compute_rects(struct rpir_view *view, src_height = int_max(src_height, 0); DBG("rpir_view %p %dx%d: p1 %f, %f; p2 %f, %f\n", view, - view->view->geometry.width, - view->view->geometry.height, + view->view->surface->width, + view->view->surface->height, p1.f[0], p1.f[1], p2.f[0], p2.f[1]); DBG("src rect %d;%d, %d;%d, %d;%dx%d;%d\n", src_x >> 16, src_x & 0xffff,