diff options
author | Adam Jackson <ajax@redhat.com> | 2011-03-18 17:44:11 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-03-28 12:46:38 -0400 |
commit | 10317682e2fbb95f1d4caa1bdbbb8116272c0f86 (patch) | |
tree | 803c990d355e071fe4e24d206c5a617770828a53 /glx/single2swap.c | |
parent | c327d07cc68802256c679a65d78f98f17327abda (diff) |
glx: Remove some obfuscatory macros
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'glx/single2swap.c')
-rw-r--r-- | glx/single2swap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/glx/single2swap.c b/glx/single2swap.c index 04e50b407..e3afcabbc 100644 --- a/glx/single2swap.c +++ b/glx/single2swap.c @@ -72,7 +72,7 @@ int __glXDispSwap_FeedbackBuffer(__GLXclientState *cl, GLbyte *pc) cx->feedbackBufSize = size; } CALL_FeedbackBuffer( GET_DISPATCH(), (size, type, cx->feedbackBuf) ); - __GLX_NOTE_UNFLUSHED_CMDS(cx); + cx->hasUnflushedCommands = GL_TRUE; return Success; } @@ -103,7 +103,7 @@ int __glXDispSwap_SelectBuffer(__GLXclientState *cl, GLbyte *pc) cx->selectBufSize = size; } CALL_SelectBuffer( GET_DISPATCH(), (size, cx->selectBuf) ); - __GLX_NOTE_UNFLUSHED_CMDS(cx); + cx->hasUnflushedCommands = GL_TRUE; return Success; } @@ -229,7 +229,7 @@ int __glXDispSwap_Flush(__GLXclientState *cl, GLbyte *pc) } CALL_Flush( GET_DISPATCH(), () ); - __GLX_NOTE_FLUSHED_CMDS(cx); + cx->hasUnflushedCommands = GL_FALSE; return Success; } @@ -248,7 +248,7 @@ int __glXDispSwap_Finish(__GLXclientState *cl, GLbyte *pc) /* Do a local glFinish */ CALL_Finish( GET_DISPATCH(), () ); - __GLX_NOTE_FLUSHED_CMDS(cx); + cx->hasUnflushedCommands = GL_FALSE; /* Send empty reply packet to indicate finish is finished */ client = cl->client; |