diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-24 07:01:53 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-25 03:34:27 +0300 |
commit | 0dc3a72273127e28aec60b39373b48ad8da80c57 (patch) | |
tree | 58aaa964583452f8e0258808785ae589972ae9f0 /libvo | |
parent | 41d6879236d2792300c57fc9825878ba4f634edd (diff) | |
download | mpv-0dc3a72273127e28aec60b39373b48ad8da80c57.tar.bz2 mpv-0dc3a72273127e28aec60b39373b48ad8da80c57.tar.xz |
Move vidmode to options struct
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/old_vo_defines.h | 1 | ||||
-rw-r--r-- | libvo/vo_directx.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/libvo/old_vo_defines.h b/libvo/old_vo_defines.h index a092589377..db3084373e 100644 --- a/libvo/old_vo_defines.h +++ b/libvo/old_vo_defines.h @@ -17,4 +17,5 @@ #define vo_dbpp global_vo->opts->vo_dbpp #define vo_screenwidth global_vo->opts->vo_screenwidth #define vo_screenheight global_vo->opts->vo_screenheight +#define vidmode global_vo->opts->vidmode #endif diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index 5d3bd355e3..b56f39b36b 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -87,8 +87,6 @@ static float window_aspect; static BOOL (WINAPI* myGetMonitorInfo)(HMONITOR, LPMONITORINFO) = NULL; static RECT last_rect = {0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE}; -extern int vidmode; - /***************************************************************************** * DirectDraw GUIDs. * Defining them here allows us to get rid of the dxguid library during |