diff options
Diffstat (limited to 'py/pykms')
-rw-r--r-- | py/pykms/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/pykms/__init__.py b/py/pykms/__init__.py index 6ee9eba..258b4e0 100644 --- a/py/pykms/__init__.py +++ b/py/pykms/__init__.py @@ -103,7 +103,7 @@ def __atomic_req_add_plane(req, plane, fb, crtc, dst = src m = {"FB_ID": fb.id if fb else 0, - "CRTC_ID": crtc.id if fb else 0} + "CRTC_ID": crtc.id if crtc else 0} if src is not None: src_x = int(round(src[0] * 65536)) |