[Piglit] [PATCH 4/4] arb-fragment-coord-conventions: Move the GL requirement from piglit_init to the config section

Ian Romanick idr at freedesktop.org
Fri Jan 10 14:05:57 PST 2014


From: Ian Romanick <ian.d.romanick at intel.com>

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 tests/shaders/glsl-arb-fragment-coord-conventions.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/shaders/glsl-arb-fragment-coord-conventions.c b/tests/shaders/glsl-arb-fragment-coord-conventions.c
index 297b0e8..51feae9 100644
--- a/tests/shaders/glsl-arb-fragment-coord-conventions.c
+++ b/tests/shaders/glsl-arb-fragment-coord-conventions.c
@@ -35,7 +35,7 @@
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 
-	config.supports_gl_compat_version = 10;
+	config.supports_gl_compat_version = 20;
 
 	config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
 
@@ -242,8 +242,6 @@ static void key_func(unsigned char key, int x, int y)
 
 void piglit_init(int argc, char **argv)
 {
-	piglit_require_gl_version(20);
-
 	piglit_require_extension("GL_ARB_fragment_coord_conventions");
 
 	if (!piglit_automatic) {
-- 
1.8.1.4



More information about the Piglit mailing list