summaryrefslogtreecommitdiff
path: root/dri3proto.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-06-02 16:29:08 -0700
committerKeith Packard <keithp@keithp.com>2013-06-02 16:29:08 -0700
commit58ece91deea5fcfaae9ecc098d53294171f5acb8 (patch)
tree3f37df1769590b6b04b38b24017a779b56d95597 /dri3proto.h
parent7fd74d6ad8c76d50dc347edc083a921a87d7ab0d (diff)
Return buffer size in BufferFromPixmap reply
The kernel doesn't provide an API to discover the size, so just pass it back in the protocol Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dri3proto.h')
-rw-r--r--dri3proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dri3proto.h b/dri3proto.h
index 77ee8e9..ec58ec0 100644
--- a/dri3proto.h
+++ b/dri3proto.h
@@ -119,7 +119,7 @@ typedef struct {
CARD16 stride B16;
CARD8 depth;
CARD8 bpp;
- CARD32 pad16;
+ CARD32 size;
CARD32 pad20;
CARD32 pad24;
CARD32 pad28;