summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_directx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c
index 1c23d15f95..7302b36cdb 100644
--- a/libvo/vo_directx.c
+++ b/libvo/vo_directx.c
@@ -470,9 +470,7 @@ static uint32_t Directx_ManageDisplay(void)
panscan_calc_windowed();
width += vo_panscan_x;
height += vo_panscan_y;
- width = FFMIN(width, vo_screenwidth);
- height = FFMIN(height, vo_screenheight);
- rd.left += (vo_dwidth - width) / 2;
+ rd.left += (vo_dwidth - width ) / 2;
rd.top += (vo_dheight - height) / 2;
rd.right = rd.left + width;