summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-21 21:09:46 +0100
committerwm4 <wm4@nowhere>2015-01-21 21:12:18 +0100
commit3f49c60762bdab1f2b1683fbbd851f05e7360fa7 (patch)
treea314baedd94d9c21e442b8529ead2993ecbe115f /common
parent39231e5dfd492243faaeb63ca6ebe6263879d54e (diff)
downloadmpv-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 'common')
0 files changed, 0 insertions, 0 deletions