summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_directx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c
index e9e9d8718a..e077cda3e5 100644
--- a/libvo/vo_directx.c
+++ b/libvo/vo_directx.c
@@ -1214,7 +1214,6 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
RECT rd;
vo_screenwidth = monitor_rect.right - monitor_rect.left;
vo_screenheight = monitor_rect.bottom - monitor_rect.top;
- monitor_aspect = (float)vo_screenwidth / (float)vo_screenheight;
vo_fs = options & 0x01;
image_format = format;
image_width = width;