[Mesa-dev] Mesa (master): docs: fix typos in Mesa specs

Ian Romanick idr at freedesktop.org
Sun Apr 10 22:51:17 PDT 2011


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

On 04/10/2011 09:00 AM, Brian Paul wrote:
> Module: Mesa
> Branch: master
> Commit: ae5776c41f12515bb73c07ee2a0aed56cdd1a1ef
> URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae5776c41f12515bb73c07ee2a0aed56cdd1a1ef
> 
> Author: Nicolas Kaiser <nikai at nikai.net>
> Date:   Sun Apr 10 09:58:50 2011 -0600
> 
> docs: fix typos in Mesa specs
> 
> Signed-off-by: Nicolas Kaiser <nikai at nikai.net>
> Signed-off-by: Brian Paul <brianp at vmware.com>
> 
> diff --git a/docs/MESA_resize_buffers.spec b/docs/MESA_resize_buffers.spec
> index 533d017..dabc7c4 100644
> --- a/docs/MESA_resize_buffers.spec
> +++ b/docs/MESA_resize_buffers.spec
> @@ -35,7 +35,7 @@ Overview
>  
>      Mesa's glViewport command queries the current window size and updates
>      its internal data structors accordingly.  This normally works fine
> -    since most applications call glViewport in responce to window size
> +    since most applications call glViewport in response to window size
>      changes.
>  
>      In some situations, however, the application may not call glViewport
> @@ -65,7 +65,7 @@ Additions to the AGL/GLX/WGL Specifications
>  
>  Errors
>  
> -    INVALID_OPERATION is generated if ResizeBuffersMESA is called betweeen
> +    INVALID_OPERATION is generated if glResizeBuffersMESA is called between
                                         ^^^^^^^^^^^^^^^^^^^
This change is actually incorrect, even though it makes the spec more
internally consistent.  The gl (functions), GL_ (enums), and GL (types)
prefixes are not used in the bodies of specs.  Notice that
INVALID_OPERATION lacks the GL_ prefix and Begin and End lack the gl prefix.

It's not a big deal, but I thought I'd point it out for future reference.

>      Begin and End.
>  
>  New State
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk2iltQACgkQX1gOwKyEAw8O9QCdHeUHYlOeC14tW8OsGXMSRXn+
/yIAn2zeC0LYrHXTJTOzhY9zDKIJAd6g
=94is
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list