[PATCH] [glx] Fix typos in the swap functions

Ian Romanick idr at freedesktop.org
Thu Dec 17 10:47:18 PST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tomas Carnecky wrote:
> Signed-off-by: Tomas Carnecky <tom at dbservice.com>

NAK.  Thse file is autogenerated (see the giant header at the top of the
file!).  Fix the generator instead, please.

> ---
>  glx/glxcmdsswap.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/glx/glxcmdsswap.c b/glx/glxcmdsswap.c
> index f1c0ce6..c414dc8 100644
> --- a/glx/glxcmdsswap.c
> +++ b/glx/glxcmdsswap.c
> @@ -354,7 +354,7 @@ int __glXDispSwap_CreateGLXPbufferSGIX(__GLXclientState *cl, GLbyte *pc)
>  
>  int __glXDispSwap_DestroyPbuffer(__GLXclientState *cl, GLbyte *pc)
>  {
> -    xGLXDestroyPbufferReq *req = (xGLXDestroyPbufferReq *) req;
> +    xGLXDestroyPbufferReq *req = (xGLXDestroyPbufferReq *) pc;
>      __GLX_DECLARE_SWAP_VARIABLES;
>  
>      __GLX_SWAP_INT(&req->pbuffer);
> @@ -364,7 +364,7 @@ int __glXDispSwap_DestroyPbuffer(__GLXclientState *cl, GLbyte *pc)
>  
>  int __glXDispSwap_DestroyGLXPbufferSGIX(__GLXclientState *cl, GLbyte *pc)
>  {
> -    xGLXDestroyGLXPbufferSGIXReq *req = (xGLXDestroyGLXPbufferSGIXReq *) req;
> +    xGLXDestroyGLXPbufferSGIXReq *req = (xGLXDestroyGLXPbufferSGIXReq *) pc;
>      __GLX_DECLARE_SWAP_VARIABLES;
>  
>      __GLX_SWAP_INT(&req->pbuffer);
> @@ -375,7 +375,7 @@ int __glXDispSwap_DestroyGLXPbufferSGIX(__GLXclientState *cl, GLbyte *pc)
>  int __glXDispSwap_ChangeDrawableAttributes(__GLXclientState *cl, GLbyte *pc)
>  {
>      xGLXChangeDrawableAttributesReq *req =
> -	(xGLXChangeDrawableAttributesReq *) req;
> +	(xGLXChangeDrawableAttributesReq *) pc;
>      __GLX_DECLARE_SWAP_VARIABLES;
>      __GLX_DECLARE_SWAP_ARRAY_VARIABLES;
>      CARD32 *attribs;
> @@ -392,7 +392,7 @@ int __glXDispSwap_ChangeDrawableAttributesSGIX(__GLXclientState *cl,
>  					       GLbyte *pc)
>  {
>      xGLXChangeDrawableAttributesSGIXReq *req =
> -	(xGLXChangeDrawableAttributesSGIXReq *) req;
> +	(xGLXChangeDrawableAttributesSGIXReq *) pc;
>      __GLX_DECLARE_SWAP_VARIABLES;
>      __GLX_DECLARE_SWAP_ARRAY_VARIABLES;
>      CARD32 *attribs;

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksqfLQACgkQX1gOwKyEAw/7cgCdFw+F6BHDfMjBX5CzJkyInsRQ
QEEAnRqqGwAhSWcTRV5mM8DU4eEjOsrn
=AioA
-----END PGP SIGNATURE-----


More information about the xorg-devel mailing list