(submit/glx-cleanups-vla) glx: DoQueryContext(): drop duplicate write path
We now have two copies of the same write path in both swapped and non-swapped branch. One is enough. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
4ce17b5949
commit
e78ea2e50e
|
@ -1691,14 +1691,11 @@ DoQueryContext(__GLXclientState * cl, GLXContextID gcId)
|
|||
__GLX_SWAP_SHORT(&reply.sequenceNumber);
|
||||
__GLX_SWAP_INT(&reply.length);
|
||||
__GLX_SWAP_INT(&reply.n);
|
||||
WriteToClient(client, sizeof(xGLXQueryContextInfoEXTReply), &reply);
|
||||
__GLX_SWAP_INT_ARRAY(sendBuf, sizeof(sendBuf) / sizeof(CARD32));
|
||||
WriteToClient(client, sizeof(sendBuf), sendBuf);
|
||||
}
|
||||
else {
|
||||
|
||||
WriteToClient(client, sizeof(xGLXQueryContextInfoEXTReply), &reply);
|
||||
WriteToClient(client, sizeof(sendBuf), sendBuf);
|
||||
}
|
||||
|
||||
return Success;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue