[Piglit] [PATCH] rendermode-feedback: add static, const qualifiers

Eric Anholt eric at anholt.net
Thu Nov 21 09:23:04 PST 2013


Brian Paul <brianp at vmware.com> writes:

> ---
>  tests/spec/gl-1.0/rendermode-feedback.c |   12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/tests/spec/gl-1.0/rendermode-feedback.c b/tests/spec/gl-1.0/rendermode-feedback.c
> index 8691c96..eb48bce 100644
> --- a/tests/spec/gl-1.0/rendermode-feedback.c
> +++ b/tests/spec/gl-1.0/rendermode-feedback.c
> @@ -54,31 +54,31 @@ static float texcoord_array[] = {
>  	109.0, 110.0, 111.0, 112.0,
>  };
>  
> -float gl_2d_values[] =
> +static const float gl_2d_values[] =
>  	{GL_POLYGON_TOKEN, 3,
>  	 1.0, 2.0,
>  	 3.0, 4.0,
>  	 5.0, 6.0};

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20131121/78928d0a/attachment.pgp>


More information about the Piglit mailing list