summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2016-02-18 20:00:53 +1100
committerJames Ross-Gowan <rossymiles@gmail.com>2016-02-19 00:37:21 +1100
commit53ef4822e83e8482db8d1e75a73762f8784b8d16 (patch)
tree1eccec4f49cb201391d8e3a9dc3b0da980d85657 /player/loadfile.c
parentbf0801a14a697755fc561c27404acf71c83a7f51 (diff)
downloadmpv-53ef4822e83e8482db8d1e75a73762f8784b8d16.tar.bz2
mpv-53ef4822e83e8482db8d1e75a73762f8784b8d16.tar.xz
dxva2: fix shared surface type
The WGL_NV_DX_interop spec says that a shared IDirect3DSurface9 must not be lockable, but off-screen plain surfaces are always lockable and using them causes Nvidia drivers to crash. Use a rendertarget for the shared surface instead. This also changes the name of the DX_interop handle for the rendertarget to match the name of the DirectX object (rather than the GL one) to match the convention used in context_dxinterop.c.
Diffstat (limited to 'player/loadfile.c')
0 files changed, 0 insertions, 0 deletions