mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +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:
committed by
Enrico Weigelt
parent
4e842b2382
commit
143fafad24
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user