diff options
author | James Ross-Gowan <rossy@jrg.systems> | 2017-12-09 00:45:00 +1100 |
---|---|---|
committer | James Ross-Gowan <rossy@jrg.systems> | 2017-12-09 19:53:53 +1100 |
commit | 6ab7e0d465d30a68bf24a0cafeea9b3366dd3e99 (patch) | |
tree | 88b460e5de6df91ddae4c364786ae665445be22f /input/ipc-win.c | |
parent | 3723e611fc55f0d79e6574d3ae9646e7892244da (diff) | |
download | mpv-6ab7e0d465d30a68bf24a0cafeea9b3366dd3e99.tar.bz2 mpv-6ab7e0d465d30a68bf24a0cafeea9b3366dd3e99.tar.xz |
vo_gpu: d3d11: check for timestamp query support
Apparently timestamp queries are optional for 10level9 devices. Check
for support when creating the device rather than spamming error messages
during rendering. CreateQuery can be used to check for support by
passing NULL as the final parameter.
See:
https://msdn.microsoft.com/en-us/library/windows/desktop/ff476150.aspx#ID3D11Device_CreateQuery
Diffstat (limited to 'input/ipc-win.c')
0 files changed, 0 insertions, 0 deletions