mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
glx: replace __GLX_SWAP_SHORT() by swaps()
We have an optimized function for this, so use it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
cca0a47af7
commit
44228d264a
@@ -210,7 +210,7 @@ __glXDispSwap_RenderMode(__GLXclientState * cl, GLbyte * pc)
|
||||
.size = nitems,
|
||||
.newMode = newMode
|
||||
};
|
||||
__GLX_SWAP_SHORT(&reply.sequenceNumber);
|
||||
swaps(&reply.sequenceNumber);
|
||||
__GLX_SWAP_INT(&reply.length);
|
||||
__GLX_SWAP_INT(&reply.retval);
|
||||
__GLX_SWAP_INT(&reply.size);
|
||||
|
||||
Reference in New Issue
Block a user