diff options
author | wm4 <wm4@nowhere> | 2013-03-02 19:16:59 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-03-03 14:19:53 +0100 |
commit | 0c07e82136133aef14a5caf6f11da0c1a6dc72fb (patch) | |
tree | a21b41d1a57956efdb7e0bd6396541e28502404b | |
parent | 428a4243e9aa352adf432f54d5106eabf16f04e7 (diff) | |
download | mpv-0c07e82136133aef14a5caf6f11da0c1a6dc72fb.tar.bz2 mpv-0c07e82136133aef14a5caf6f11da0c1a6dc72fb.tar.xz |
w32_common: remove unused variable
The depth was printed in verbose mode. Completely useless.
-rw-r--r-- | video/out/w32_common.c | 6 | ||||
-rw-r--r-- | video/out/w32_common.h | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c index ca3d8a7cc5..031bd0be67 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -384,7 +384,6 @@ static void updateScreenProperties(struct vo *vo) vo->opts->vo_screenwidth = dm.dmPelsWidth; vo->opts->vo_screenheight = dm.dmPelsHeight; - w32->depthonscreen = dm.dmBitsPerPel; w32_update_xinerama_info(vo); } @@ -627,9 +626,8 @@ int vo_w32_init(struct vo *vo) updateScreenProperties(vo); - mp_msg(MSGT_VO, MSGL_V, "vo: win32: running at %dx%d with depth %d\n", - vo->opts->vo_screenwidth, vo->opts->vo_screenheight, - w32->depthonscreen); + mp_msg(MSGT_VO, MSGL_V, "vo: win32: running at %dx%d\n", + vo->opts->vo_screenwidth, vo->opts->vo_screenheight); return 1; } diff --git a/video/out/w32_common.h b/video/out/w32_common.h index 63a7d19fc9..a71ccaa661 100644 --- a/video/out/w32_common.h +++ b/video/out/w32_common.h @@ -26,8 +26,6 @@ struct vo_w32_state { HWND window; - int depthonscreen; - // last non-fullscreen extends (updated only on fullscreen or on initialization) int prev_width; int prev_height; |