summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2015-12-14 00:54:57 +1100
committerJames Ross-Gowan <rossymiles@gmail.com>2015-12-14 23:09:54 +1100
commitd0fd68f6dfeac03d07a005f230cdec0756636075 (patch)
treeb844f6a2c50eee4b9586484a0730f4b13ca57240 /sub
parent8d0a6cd03560ed8d20efb57c5e38a980380a1a1e (diff)
downloadmpv-d0fd68f6dfeac03d07a005f230cdec0756636075.tar.bz2
mpv-d0fd68f6dfeac03d07a005f230cdec0756636075.tar.xz
vo_opengl: dxinterop: prevent crash after lost device
When a Direct3D 9Ex device fails to reset, it gets put into the lost state, so set the lost_device flag and don't attempt to present until the device moves out of that state. Failure to recreate the size- dependent objects should set lost_device as well, since we shouldn't try to present in that state. Also, it looks like I was too eager to remove code that sets priv members to NULL and I accidentally removed some that was needed.
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions