From 12bc7c49882edeab4f33e2d49090491001822cd3 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 9 Sep 2025 20:07:42 +0200 Subject: [PATCH] glx: fix wrong swapped encoding in __glXDisp_QueryExtensionsString() The name string is supposed to be transmitted as-is, not swapped in 4-byte chunks. Signed-off-by: Enrico Weigelt, metux IT consult --- glx/glxcmds.c | 1 - 1 file changed, 1 deletion(-) diff --git a/glx/glxcmds.c b/glx/glxcmds.c index 9b935ab687..4c2186a4b6 100644 --- a/glx/glxcmds.c +++ b/glx/glxcmds.c @@ -2395,7 +2395,6 @@ __glXDisp_QueryExtensionsString(__GLXclientState * cl, GLbyte * pc) __GLX_SWAP_INT(&reply.length); __GLX_SWAP_INT(&reply.n); WriteToClient(client, sizeof(xGLXQueryExtensionsStringReply), &reply); - __GLX_SWAP_INT_ARRAY((int *) buf, length); WriteToClient(client, length << 2, buf); } else {