summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorquilloss <quilloss@users.noreply.github.com>2017-06-16 17:51:12 +0800
committerwm4 <wm4@nowhere>2017-06-18 20:54:44 +0200
commit2ba2062e5b0b53d2b14fc81c377d0b0b3d6f4a99 (patch)
tree5e5b2c3a273fa834707d77957667761b2b4c512b /player
parent3d75ba971d3793227fc9705cb928cfa0a1930dea (diff)
downloadmpv-2ba2062e5b0b53d2b14fc81c377d0b0b3d6f4a99.tar.bz2
mpv-2ba2062e5b0b53d2b14fc81c377d0b0b3d6f4a99.tar.xz
context_dxinterop: lock rendertarget after present when swapping buffers
Moves the DXLockObjectsNV call to after PresentEx. This fixes an issue where the presented image is a single frame late. This may be due to DXLockObjectsNV locking the render target before StretchRect is done. The spec indicates that the lock call should provide synchronization for the resource, so this may be due to a driver bug.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions