mirror of
https://github.com/mpv-player/mpv
synced 2024-12-14 19:05:33 +00:00
Fix vo_x11_clearwindow_part: x position is one less to avoid not clearing
a line in case of rounding error, so width must be one larger, too. y-case is already correct. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23680 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7f811fc47b
commit
a237b8b6f3
@ -1347,7 +1347,7 @@ void vo_x11_clearwindow_part(Display * mDisplay, Window vo_window,
|
||||
XFillRectangle(mDisplay, vo_window, f_gc, 0, left_ov, left_ov2,
|
||||
img_height);
|
||||
XFillRectangle(mDisplay, vo_window, f_gc, u_dwidth - left_ov2 - 1,
|
||||
left_ov, left_ov2, img_height);
|
||||
left_ov, left_ov2 + 1, img_height);
|
||||
}
|
||||
|
||||
XFlush(mDisplay);
|
||||
|
Loading…
Reference in New Issue
Block a user