From 0bc5bbd6766949d651f98e12981d79c86ce0bf99 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 23 May 2016 09:31:08 +0300 Subject: Fix the rest of the py scripts --- py/alpha-test.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'py/alpha-test.py') diff --git a/py/alpha-test.py b/py/alpha-test.py index 99c84fb..6957bb4 100755 --- a/py/alpha-test.py +++ b/py/alpha-test.py @@ -50,15 +50,15 @@ for i in range(len(planes)): plane = planes[i] fb = fbs[i] - print("set crtc {}, plane {}, fb {}".format(crtc.id(), p.id(), fbs[i].id())) + print("set crtc {}, plane {}, fb {}".format(crtc.id, p.id, fbs[i].id)) set_props(plane, { - "FB_ID": fb.id(), - "CRTC_ID": crtc.id(), - "SRC_W": fb.width() << 16, - "SRC_H": fb.height() << 16, - "CRTC_W": fb.width(), - "CRTC_H": fb.height(), + "FB_ID": fb.id, + "CRTC_ID": crtc.id, + "SRC_W": fb.width << 16, + "SRC_H": fb.height << 16, + "CRTC_W": fb.width, + "CRTC_H": fb.height, "zorder": i, }) -- cgit v1.2.3