summaryrefslogtreecommitdiff
path: root/tests/texturing/depth-tex-modes-glsl.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/depth-tex-modes-glsl.c')
-rw-r--r--tests/texturing/depth-tex-modes-glsl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/texturing/depth-tex-modes-glsl.c b/tests/texturing/depth-tex-modes-glsl.c
index ba718b466..b1ecc89fe 100644
--- a/tests/texturing/depth-tex-modes-glsl.c
+++ b/tests/texturing/depth-tex-modes-glsl.c
@@ -82,10 +82,7 @@ static void loadTex(void);
void
piglit_init(int argc, char **argv)
{
- if (piglit_get_gl_version() < 20) {
- printf("Requires OpenGL 2.0\n");
- piglit_report_result(PIGLIT_SKIP);
- }
+ piglit_require_gl_version(20);
if (piglit_automatic)
printf(" Left to Right: LUMINANCE, INTENSITY, ALPHA\n"