util: Unsaved change missing from last commit.
This commit is contained in:
parent
840af5fd62
commit
273117ceed
|
@ -1141,7 +1141,7 @@ pipe_get_tile_z(struct pipe_transfer *pt,
|
|||
for (i = 0; i < h; i++) {
|
||||
for (j = 0; j < w; j++) {
|
||||
/* convert 24-bit Z to 32-bit Z */
|
||||
pDest[j] = (ptrc[j] & 0xffffff00) | (ptrc[j] & 0xff);
|
||||
pDest[j] = (ptrc[j] & 0xffffff00) | ((ptrc[j] >> 24) & 0xff);
|
||||
}
|
||||
pDest += dstStride;
|
||||
ptrc += pt->stride/4;
|
||||
|
|
Loading…
Reference in New Issue