diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2006-06-24 14:54:52 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2006-06-24 14:54:52 +0200 |
commit | a195a3debca02572d9f7d7a9976b5bf67acc5d08 (patch) | |
tree | 7812276a173ac1d73400fa47dc34f87769f8ee18 /GL | |
parent | bc6cfde19887eff7a07dc739ffa29609fb55b83d (diff) |
Fix byte swapping in some GLX requests.
Diffstat (limited to 'GL')
-rw-r--r-- | GL/glx/indirect_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GL/glx/indirect_util.c b/GL/glx/indirect_util.c index c9d8600c8..bab0226be 100644 --- a/GL/glx/indirect_util.c +++ b/GL/glx/indirect_util.c @@ -185,8 +185,8 @@ __glXSendReplySwap( ClientPtr client, const void * data, size_t elements, } __glXReply.length = bswap_32( reply_ints ); - __glXReply.type = bswap_32( X_Reply ); - __glXReply.sequenceNumber = bswap_32( client->sequence ); + __glXReply.type = X_Reply; + __glXReply.sequenceNumber = bswap_16( client->sequence ); __glXReply.size = bswap_32( elements ); __glXReply.retval = bswap_32( retval ); |