[Mesa-dev] [PATCH 2/2] texunits: Require OpenGL 1.3
Xavier Chantry
chantry.xavier at gmail.com
Mon Apr 12 14:32:03 PDT 2010
glMultiTexCoord4fv is available only if the GL version is 1.3 or
greater.
Signed-off-by: Xavier Chantry <chantry.xavier at 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
More information about the mesa-dev
mailing list