[PATCH weston] rpi: build fix for compute_rects debug

Pekka Paalanen ppaalanen at gmail.com
Fri May 9 05:08:06 PDT 2014


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

See 918f2dd4cfb8b177f67b45653efbbe4325cbe9dc

Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
 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 3a7f65c..c222eb6 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,
-- 
1.8.5.5



More information about the wayland-devel mailing list