diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2010-03-28 15:35:20 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2010-03-28 15:35:20 -0700 |
commit | 63cd17d93f24f2bcf971e2b9ae415990eebc59e5 (patch) | |
tree | 90ad0283c662db98c073f2162d2602be204c4e82 | |
parent | 5bdcd3a538df1bcc307c0267da976e42b5a61a7e (diff) |
Fix typos in the swap functions
This should fix bug #3539.
Signed-off-by: Tomas Carnecky <tom@dbservice.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 0c2fde5c8ad6e94b4ed1588aa93256a2b64f74d9)
Conflicts:
GL/glx/glxcmdsswap.c
-rw-r--r-- | GL/glx/glxcmdsswap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GL/glx/glxcmdsswap.c b/GL/glx/glxcmdsswap.c index 12bc03037..4e21d3a6b 100644 --- a/GL/glx/glxcmdsswap.c +++ b/GL/glx/glxcmdsswap.c @@ -345,7 +345,7 @@ int __glXDispSwap_CreatePbuffer(__GLXclientState *cl, GLbyte *pc) int __glXDispSwap_DestroyPbuffer(__GLXclientState *cl, GLbyte *pc) { - xGLXDestroyPbufferReq *req = (xGLXDestroyPbufferReq *) req; + xGLXDestroyPbufferReq *req = (xGLXDestroyPbufferReq *) pc; return BadRequest; } @@ -353,7 +353,7 @@ int __glXDispSwap_DestroyPbuffer(__GLXclientState *cl, GLbyte *pc) int __glXDispSwap_ChangeDrawableAttributes(__GLXclientState *cl, GLbyte *pc) { xGLXChangeDrawableAttributesReq *req = - (xGLXChangeDrawableAttributesReq *) req; + (xGLXChangeDrawableAttributesReq *) pc; return BadRequest; } |