summaryrefslogtreecommitdiffstats
path: root/video/out/vo_sdl.c
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2014-09-17 15:59:44 +1000
committerwm4 <wm4@nowhere>2015-11-06 19:53:18 +0100
commit9e10cd9fa19747e1e9218289c2a22edcff4b66e9 (patch)
tree330530eade0c6bb50f0caaa17d529e4b56272708 /video/out/vo_sdl.c
parentb2a3e877c0b2327242e4c02dcc4d29eff774ce4c (diff)
downloadmpv-9e10cd9fa19747e1e9218289c2a22edcff4b66e9.tar.bz2
mpv-9e10cd9fa19747e1e9218289c2a22edcff4b66e9.tar.xz
w32: remove Win95 and NT4 monitor code
The call to EnumDisplaySettings seems to be a relic from when MPlayer ran on systems that didn't have GetMonitorInfo or SM_CX/CYVIRTUALSCREEN. GetMonitorInfo was loaded dynamically, so it was possible for MPlayer to run without it and use the values returned by EnumDisplaySettings. These are always present in modern versions of Windows, so the values returned from EnumDisplaySettings are always overwritten. Remove the call to EnumDisplaySettings and assume SM_CX/CYVIRTUALSCREEN is always present. Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'video/out/vo_sdl.c')
0 files changed, 0 insertions, 0 deletions