From 143fafad246ee03fbc3ca9e409d1770bb6df591f 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 25cab4bc0c..81fc203afe 100644 --- a/glx/glxcmds.c +++ b/glx/glxcmds.c @@ -2355,7 +2355,6 @@ __glXDisp_QueryExtensionsString(__GLXclientState * cl, GLbyte * pc) swapl(&reply.length); swapl(&reply.n); WriteToClient(client, sizeof(xGLXQueryExtensionsStringReply), &reply); - SwapLongs((CARD32*)buf, length); WriteToClient(client, length << 2, buf); } else {