diff options
Diffstat (limited to 'py/alpha-test.py')
-rwxr-xr-x | py/alpha-test.py | 14 |
1 files changed, 7 insertions, 7 deletions
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, }) |