[Piglit] [PATCH 1/7] attribute0: Fix segfault when using ARB_shader_objects.
Ian Romanick
idr at freedesktop.org
Tue Jul 12 10:18:28 PDT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is clean-up that I wanted to do when I started adding the piglit_
wrappers. I just couldn't make myself grind through all those tests. :(
In the cases where existing tests are being converted to use the piglit_
functions, I'm assuming that you caught all the calls... even in error /
corner cases.
If so, for the series:
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
On 07/11/2011 05:43 PM, Eric Anholt wrote:
> ---
> tests/shaders/attribute0.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/tests/shaders/attribute0.c b/tests/shaders/attribute0.c
> index c6fbe6d..f3c8443 100644
> --- a/tests/shaders/attribute0.c
> +++ b/tests/shaders/attribute0.c
> @@ -84,7 +84,7 @@ piglit_init(int argc, char **argv)
> piglit_LinkProgram(prog);
> piglit_link_check_status(prog);
>
> - glUseProgram(prog);
> + piglit_UseProgram(prog);
>
> glClearColor(blue[0], blue[1], blue[2], blue[3]);
> }
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk4cgeQACgkQX1gOwKyEAw8EdgCgkqtUP0Pnz7f1WlhtfPwwCEOk
3QAAn0JfsjFPqjKxcn4nqJQPNL4iIqJS
=5zpw
-----END PGP SIGNATURE-----
More information about the Piglit
mailing list