mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user