diff options
author | Dudemanguy <random342@airmail.cc> | 2023-08-15 15:35:28 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-08-15 21:01:13 +0000 |
commit | 455487bdc908f7add2163e354b5ac68a33f499b9 (patch) | |
tree | 35a89f5455c13008d01c8c4b937433ba486375f7 /video/image_writer.h | |
parent | 17eb928775a55f155d40a3cc4ccae67eec72edb8 (diff) | |
download | mpv-455487bdc908f7add2163e354b5ac68a33f499b9.tar.bz2 mpv-455487bdc908f7add2163e354b5ac68a33f499b9.tar.xz |
win32: fix display resolution calculation on mulitple monitors
It was actually always wrong, and no one ever noticed. This currently
returns the size of the entire display area and not one actual monitor.
Fix this by calling get_monitor_info and then doing the appropriate
subtractions. Checked by @CrendKing and fixes #12172.
Diffstat (limited to 'video/image_writer.h')
0 files changed, 0 insertions, 0 deletions