From 66d339c11281b88212d55b4017e1fc7ca549e314 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 20 Jun 2013 12:09:46 -0700 Subject: Eliminate driverType and driverName from Open request Make application figure out the right driver on its own. Signed-off-by: Keith Packard --- dri3proto.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'dri3proto.h') diff --git a/dri3proto.h b/dri3proto.h index 2b7821c..8abf0be 100644 --- a/dri3proto.h +++ b/dri3proto.h @@ -67,22 +67,21 @@ typedef struct { CARD8 dri3ReqType; CARD16 length B16; CARD32 drawable B32; - CARD32 driverType B32; CARD32 provider B32; } xDRI3OpenReq; -#define sz_xDRI3OpenReq 16 +#define sz_xDRI3OpenReq 12 typedef struct { BYTE type; /* X_Reply */ CARD8 nfd; CARD16 sequenceNumber B16; CARD32 length B32; - CARD32 driverNameLength B32; CARD32 pad2 B32; CARD32 pad3 B32; CARD32 pad4 B32; CARD32 pad5 B32; CARD32 pad6 B32; + CARD32 pad7 B32; } xDRI3OpenReply; #define sz_xDRI3OpenReply 32 -- cgit v1.2.1