From 7e0ae1736d7fd5524883cef0353315df811f3d48 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 12 Aug 2022 11:17:35 +0100 Subject: DRI3: fix off-by-one DRI3 opcodes in description The actual protocol and implementation details are unaffected - both here and in xcb. Only the description/diagram section is off. Noticed while skimming through the new 1.3 additions. Signed-off-by: Emil Velikov --- dri3proto.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dri3proto.txt b/dri3proto.txt index c267574..3f92756 100644 --- a/dri3proto.txt +++ b/dri3proto.txt @@ -623,7 +623,7 @@ A.2 Protocol Requests ┌─── DRI3GetSupportedModifiers 1 CARD8 major opcode - 1 7 DRI3 opcode + 1 6 DRI3 opcode 2 3 length 4 Window window 1 CARD8 depth @@ -645,7 +645,7 @@ A.2 Protocol Requests ┌─── DRI3PixmapFromBuffers 1 CARD8 major opcode - 1 8 DRI3 opcode + 1 7 DRI3 opcode 2 8 length 4 Pixmap pixmap 4 Window window @@ -672,7 +672,7 @@ A.2 Protocol Requests ┌─── DRI3BuffersFromPixmap 1 CARD8 major opcode - 1 9 DRI3 opcode + 1 8 DRI3 opcode 2 2 length 4 Pixmap pixmap ▶ @@ -696,7 +696,7 @@ A.2 Protocol Requests ┌─── DRI3SetDRMDeviceInUse 1 CARD8 major opcode - 1 10 DRI3 opcode + 1 9 DRI3 opcode 2 4 length 4 Window window 4 CARD32 drmMajor -- cgit v1.2.3