[Piglit] [PATCH 2/3] copyteximage: do not run test under GL 1.0

Erik Faye-Lund kusmabite at gmail.com
Mon Aug 24 13:38:28 PDT 2015


glCopyTexImage{1,2}D was introduced in OpenGL 1.1, so there's no
point in even running this test if we get an OpenGL 1.0 context.

Signed-off-by: Erik Faye-Lund <kusmabite at gmail.com>
---
 tests/texturing/copyteximage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/texturing/copyteximage.c b/tests/texturing/copyteximage.c
index 48b2263..e7e79c7 100644
--- a/tests/texturing/copyteximage.c
+++ b/tests/texturing/copyteximage.c
@@ -111,7 +111,7 @@ static int test_target = -1;
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 
-	config.supports_gl_compat_version = 10;
+	config.supports_gl_compat_version = 11;
 
 	config.window_width = IMAGE_SIZE*(ARRAY_SIZE(test_vectors)+1);
 	config.window_height = IMAGE_SIZE;
-- 
2.1.4



More information about the Piglit mailing list