aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Valkeinen2018-01-09 04:53:08 -0600
committerTomi Valkeinen2018-01-09 04:53:17 -0600
commit6369f85fe85e7121472490c37e84ca50a59cebf0 (patch)
tree4e2ccf211021800a4561f479a0a7626463cd5304
parent6ea6e0de706d98147c5382d6e2fb01751d327581 (diff)
downloadexternal-kmsxx-6369f85fe85e7121472490c37e84ca50a59cebf0.tar.gz
external-kmsxx-6369f85fe85e7121472490c37e84ca50a59cebf0.tar.xz
external-kmsxx-6369f85fe85e7121472490c37e84ca50a59cebf0.zip
trans-test.py: fix drawing outside the buffer
-rwxr-xr-xpy/tests/trans-test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/tests/trans-test.py b/py/tests/trans-test.py
index a16f254..8b8e6c5 100755
--- a/py/tests/trans-test.py
+++ b/py/tests/trans-test.py
@@ -77,7 +77,7 @@ def test_am5_trans_src():
77 77
78 fb = fbs[1] 78 fb = fbs[1]
79 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.cyan) 79 pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.cyan)
80 pykms.draw_rect(fb, 100, 100, 500, 500, pykms.purple) 80 pykms.draw_rect(fb, 100, 100, fb.width - 200, fb.height - 200, pykms.purple)
81 81
82 crtc.set_props({ 82 crtc.set_props({
83 "trans-key-mode": 2, 83 "trans-key-mode": 2,