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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-09-09 20:07:42 +02:00
committed by Enrico Weigelt
parent 4e842b2382
commit 143fafad24

View File

@@ -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 {