diff options
author | wm4 <wm4@nowhere> | 2015-01-21 21:09:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-21 21:12:18 +0100 |
commit | 3f49c60762bdab1f2b1683fbbd851f05e7360fa7 (patch) | |
tree | a314baedd94d9c21e442b8529ead2993ecbe115f /video/image_writer.c | |
parent | 39231e5dfd492243faaeb63ca6ebe6263879d54e (diff) | |
download | mpv-3f49c60762bdab1f2b1683fbbd851f05e7360fa7.tar.bz2 mpv-3f49c60762bdab1f2b1683fbbd851f05e7360fa7.tar.xz |
vo_direct3d: unify d3d "reset" and uninit paths
I'm still not sure how exactly handling of "lost" devices is supposed
to be handled. In theory, you only have to "reset" the device, instead
of recreating _everything_. But as it is, the code for proper uninit
and for handling the reset is exactly the same, so move it into a
function to reduce code duplication and the danger of potential bugs.
Diffstat (limited to 'video/image_writer.c')
0 files changed, 0 insertions, 0 deletions