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;