[PATCH 4/6] wined3d: Fix the YV12 illustration
Martin Storsjo
martin at martin.st
Tue Feb 11 05:14:57 CST 2014
The comment in the description further above is correct, that
the chroma planes are ordered V, then U, while the illustration
had them swapped.
---
dlls/wined3d/arb_program_shader.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index 8390c9e..ddf64b0 100644
--- a/dlls/wined3d/arb_program_shader.c
+++ b/dlls/wined3d/arb_program_shader.c
@@ -6972,11 +6972,11 @@ static BOOL gen_yv12_read(struct wined3d_shader_buffer *buffer, GLenum textype,
* | |
* +----------------+-----------------+----
* | | |
- * | U even rows | U odd rows |
+ * | V even rows | V odd rows |
* | | | 1
* +----------------+------------------ -
* | | | 3
- * | V even rows | V odd rows |
+ * | U even rows | U odd rows |
* | | |
* +----------------+-----------------+----
* | | |
--
1.8.3.4 (Apple Git-47)
More information about the wine-patches
mailing list