diff options
author | Roman Gilg <subdiff@gmail.com> | 2019-05-27 22:42:34 +0200 |
---|---|---|
committer | Roman Gilg <subdiff@gmail.com> | 2020-02-18 16:30:50 +0100 |
commit | 4d89ba0058457d51f2e1a132c0b7fc8a3ec5c76d (patch) | |
tree | 44a08ebc854792e48d93ff033878a840f83a1369 /present/present_scmd.c | |
parent | 99e55f1b955e2db442184756fcd8b95791fd71de (diff) | |
download | xserver-4d89ba0058457d51f2e1a132c0b7fc8a3ec5c76d.tar.gz |
present: Unfold and annotate the target-msc getter
Unfold and extensively annotate the target-msc adjustment function, to make
it easier to understand what's happening and why.
Signed-off-by: Roman Gilg <subdiff@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'present/present_scmd.c')
-rw-r--r-- | present/present_scmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/present/present_scmd.c b/present/present_scmd.c index 88c6ebbf7..8bf8fc1d5 100644 --- a/present/present_scmd.c +++ b/present/present_scmd.c @@ -690,11 +690,11 @@ present_scmd_pixmap(WindowPtr window, window_priv->msc = crtc_msc; } - target_msc = present_get_target_msc(options, + target_msc = present_get_target_msc(target_msc, crtc_msc, - target_msc, divisor, - remainder); + remainder, + options); /* * Look for a matching presentation already on the list and |