glMultiTexCoord4fv is available only if the GL version is 1.3 or greater. Signed-off-by: Xavier Chantry <chantry.xav...@gmail.com> --- tests/general/texunits.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/tests/general/texunits.c b/tests/general/texunits.c index 01a5e27..1a5f67e 100644 --- a/tests/general/texunits.c +++ b/tests/general/texunits.c @@ -438,6 +438,11 @@ main(int argc, char *argv[]) glewInit(); + if (!GLEW_VERSION_1_3) { + printf("Requires OpenGL 1.3\n"); + piglit_report_result(PIGLIT_SKIP); + } + glutReshapeFunc(reshape); glutDisplayFunc(redisplay); if (!Automatic) { -- 1.7.0.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev