summaryrefslogtreecommitdiff
path: root/src/sna/kgem.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-10-23 15:50:56 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-23 15:52:48 +0100
commitd87c2756db1af6e4af15864ab0f44d1454079236 (patch)
treed9971558f6cd484ea65893525812ba3359ca8aff /src/sna/kgem.h
parentc7f48684cdebc24128a5fa5678614af3deb14b3b (diff)
sna: Beware 16-bit overflow when computing sample areas
Reported-by: Ognian Tenchev <drJeckyll@Jeckyll.net> References: https://bugs.freedesktop.org/show_bug.cgi?id=56324 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/kgem.h')
-rw-r--r--src/sna/kgem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.h b/src/sna/kgem.h
index 276df4fc..7bc920af 100644
--- a/src/sna/kgem.h
+++ b/src/sna/kgem.h
@@ -222,7 +222,7 @@ struct kgem_bo *kgem_create_proxy(struct kgem *kgem,
struct kgem_bo *kgem_upload_source_image(struct kgem *kgem,
const void *data,
- BoxPtr box,
+ const BoxRec *box,
int stride, int bpp);
void kgem_proxy_bo_attach(struct kgem_bo *bo, struct kgem_bo **ptr);