diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2015-12-14 00:45:49 +1100 |
---|---|---|
committer | James Ross-Gowan <rossymiles@gmail.com> | 2015-12-14 01:11:56 +1100 |
commit | 8d0a6cd03560ed8d20efb57c5e38a980380a1a1e (patch) | |
tree | 9e8811bed2af9c57a5a8e298d04851cd35c65b34 /video/out/opengl/common.c | |
parent | f24ba544cd03261f25dab8ab564d832c28233079 (diff) | |
download | mpv-8d0a6cd03560ed8d20efb57c5e38a980380a1a1e.tar.bz2 mpv-8d0a6cd03560ed8d20efb57c5e38a980380a1a1e.tar.xz |
vo_opengl: dxinterop: prevent crash with 0-size window
Direct3D doesn't like 0-sized swapchain dimensions, even when those
dimensions are automatically set. Manually set them to a size that isn't
zero instead.
Diffstat (limited to 'video/out/opengl/common.c')
0 files changed, 0 insertions, 0 deletions