summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorXavier Chantry <chantry.xavier@gmail.com>2010-04-12 14:32:03 -0700
committerBrian Paul <brianp@vmware.com>2010-04-17 10:53:00 -0600
commit6440458010069fe69ce9c9e6c3c9fb4cf3a3718c (patch)
tree83a98ce29974f1cde0beb88974e9c4b81c22d48f /tests
parent3a34a2379e15e826139e7a2b179fbb49fa2f5ab0 (diff)
texunits: Require OpenGL 1.3
glMultiTexCoord4fv is available only if the GL version is 1.3 or greater. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/general/texunits.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/general/texunits.c b/tests/general/texunits.c
index 01a5e27a..1a5f67ee 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) {