projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b069d6
)
st/xorg: initialize indexes before reswizzling for yuv
author
Zack Rusin
<zackr@vmware.com>
Sat, 24 Oct 2009 05:43:47 +0000
(
01:43
-0400)
committer
Zack Rusin
<zackr@vmware.com>
Mon, 26 Oct 2009 12:15:48 +0000
(08:15 -0400)
src/gallium/state_trackers/xorg/xorg_xv.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/xorg/xorg_xv.c
b/src/gallium/state_trackers/xorg/xorg_xv.c
index
b054ba8
..
f4b0d56
100644
(file)
--- a/
src/gallium/state_trackers/xorg/xorg_xv.c
+++ b/
src/gallium/state_trackers/xorg/xorg_xv.c
@@
-237,6
+237,8
@@
copy_packed_data(ScrnInfoPtr pScrn,
umap = (char*)screen->transfer_map(screen, utrans);
vmap = (char*)screen->transfer_map(screen, vtrans);
+ yidx = uidx = vidx = 0;
+
switch (id) {
case FOURCC_YV12: {
for (i = 0; i < w; ++i) {