summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2022-08-12 11:17:35 +0100
committerOlivier Fourdan <fourdan@gmail.com>2022-09-08 08:04:05 +0000
commit7e0ae1736d7fd5524883cef0353315df811f3d48 (patch)
tree08041edfb27a6a14491eea57c2382153a9914d9a
parentaa1543ef9d156ff5f41e31777310cb2f8bc92a92 (diff)
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 <emil.velikov@collabora.com>
-rw-r--r--dri3proto.txt8
1 files 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