[Piglit] [PATCH 6/6] arb_vertex_program: Use glGetProgramivARB, not glGetProgramiv.
Matt Turner
mattst88 at gmail.com
Tue Nov 10 22:46:23 PST 2015
The rest of the surrounding calls are to the proper ARB functions.
---
tests/spec/arb_vertex_program/getlocal4-errors.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/spec/arb_vertex_program/getlocal4-errors.c b/tests/spec/arb_vertex_program/getlocal4-errors.c
index b2e7103..b2fc3d9 100644
--- a/tests/spec/arb_vertex_program/getlocal4-errors.c
+++ b/tests/spec/arb_vertex_program/getlocal4-errors.c
@@ -64,8 +64,8 @@ piglit_init(int argc, char **argv)
prog = piglit_compile_program(GL_VERTEX_PROGRAM_ARB, source);
glBindProgramARB(GL_VERTEX_PROGRAM_ARB, prog);
- glGetProgramiv(GL_VERTEX_PROGRAM_ARB,
- GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB, &max_local);
+ glGetProgramivARB(GL_VERTEX_PROGRAM_ARB,
+ GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB, &max_local);
/* Check that an error is generated for going beyond max. */
glGetProgramLocalParameterfvARB(GL_VERTEX_PROGRAM_ARB, max_local,
--
2.4.9
More information about the Piglit
mailing list