summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossy@jrg.systems>2017-11-19 21:17:31 +1100
committerJames Ross-Gowan <rossy@jrg.systems>2017-11-19 21:17:31 +1100
commit021fe791e1dc0d6fc8720208b9fcd59e94e9aa5a (patch)
treecb7c870ee45d3ef543b9da2d1cdbcff80908108f
parent0bdbe2bc53fc2e927084dfd2c21e452d83b26e1d (diff)
downloadmpv-021fe791e1dc0d6fc8720208b9fcd59e94e9aa5a.tar.bz2
mpv-021fe791e1dc0d6fc8720208b9fcd59e94e9aa5a.tar.xz
vo_gpu: d3d11: mark the bgra8 format as unordered
Whoops. I was confused by the double-negative here.
-rw-r--r--video/out/d3d11/ra_d3d11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/d3d11/ra_d3d11.c b/video/out/d3d11/ra_d3d11.c
index eaa04ba8e0..30cd75d199 100644
--- a/video/out/d3d11/ra_d3d11.c
+++ b/video/out/d3d11/ra_d3d11.c
@@ -179,7 +179,7 @@ static struct d3d_fmt formats[] = {
{ "rgba32f", 4, 16, {32, 32, 32, 32}, DXFMT(R32G32B32A32, FLOAT) },
{ "rgb10_a2", 4, 4, {10, 10, 10, 2}, DXFMT(R10G10B10A2, UNORM) },
- { "bgra8", 4, 4, { 8, 8, 8, 8}, DXFMT(B8G8R8A8, UNORM), .unordered = false },
+ { "bgra8", 4, 4, { 8, 8, 8, 8}, DXFMT(B8G8R8A8, UNORM), .unordered = true },
};
static bool dll_version_equal(struct dll_version a, struct dll_version b)