summaryrefslogtreecommitdiffstats
path: root/video/out/vo_tct.c
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-05-01 01:14:59 +0200
committersfan5 <sfan5@live.de>2023-05-18 21:56:54 +0200
commitec58670a0dc9d4c3970cb4814b2f47ca7011a421 (patch)
tree807b088c30bd50e9b5a841b5c1401ed33169b921 /video/out/vo_tct.c
parentf677f8a5a728f906b2176b3f1622c2c986de58fb (diff)
downloadmpv-ec58670a0dc9d4c3970cb4814b2f47ca7011a421.tar.bz2
mpv-ec58670a0dc9d4c3970cb4814b2f47ca7011a421.tar.xz
ra_d3d11: change how messages are ignored during texture size lookup
Filtering globally D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDDIMENSIONS is suboptimal, because can also hide other invalid usages. In the same time it is not enough, because not only this message is emitted, but also one about E_INVALIDARG. Just flush queue before and clear messages after to ignore this part of code. As a side note, I don't believe this texture size lookup is in fact useful, but since it is there and is relatively harmless, let's leave it as is.
Diffstat (limited to 'video/out/vo_tct.c')
0 files changed, 0 insertions, 0 deletions