sync code with last improvements from OpenBSD
This commit is contained in:
parent
f10de63069
commit
21df3bcb54
1 changed files with 2 additions and 2 deletions
|
@ -291,10 +291,10 @@ glamor_xv_query_image_attributes(int id,
|
|||
pitches[0] = size;
|
||||
size *= *h;
|
||||
if (offsets)
|
||||
offsets[1] = offsets[2] = size;
|
||||
offsets[1] = size;
|
||||
tmp = ALIGN(*w, 4);
|
||||
if (pitches)
|
||||
pitches[1] = pitches[2] = tmp;
|
||||
pitches[1] = tmp;
|
||||
tmp *= (*h >> 1);
|
||||
size += tmp;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue