summaryrefslogtreecommitdiff
path: root/tests/spec/gl-3.0/required-sized-texture-formats.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/gl-3.0/required-sized-texture-formats.c')
-rw-r--r--tests/spec/gl-3.0/required-sized-texture-formats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/gl-3.0/required-sized-texture-formats.c b/tests/spec/gl-3.0/required-sized-texture-formats.c
index 0780a460f..d00b6400f 100644
--- a/tests/spec/gl-3.0/required-sized-texture-formats.c
+++ b/tests/spec/gl-3.0/required-sized-texture-formats.c
@@ -77,7 +77,7 @@ piglit_init(int argc, char **argv)
GLuint tex;
int i, c;
- if (!GLEW_VERSION_3_0) {
+ if (piglit_get_gl_version() < 30) {
printf("Requires GL 3.0\n");
piglit_report_result(PIGLIT_SKIP);
}