[Piglit] [PATCH 1/7] attribute0: Fix segfault when using ARB_shader_objects.
Eric Anholt
eric at anholt.net
Mon Jul 11 17:43:07 PDT 2011
---
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]);
}
--
1.7.5.4
More information about the Piglit
mailing list