diff options
-rw-r--r-- | libvo/vo_directx.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index 52d18188d2..f4ab2a7f7f 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -466,10 +466,12 @@ static uint32_t Directx_ManageDisplay(void) width = vo_dwidth; height = vo_dheight; - aspect(&width, &height, A_WINZOOM); - panscan_calc_windowed(); - width += vo_panscan_x; - height += vo_panscan_y; + if (aspect_scaling()) { + aspect(&width, &height, A_WINZOOM); + panscan_calc_windowed(); + width += vo_panscan_x; + height += vo_panscan_y; + } rd.left += (vo_dwidth - width ) / 2; rd.top += (vo_dheight - height) / 2; |