[Piglit] [PATCH] fbo-generatemipmap-array: Require GL_MESA_texture_array.

Eric Anholt eric at anholt.net
Tue Sep 27 15:32:33 PDT 2011


For the display of the images, this test uses fixed function with
texture array, which is only supported in GL_MESA_texture_array, not
GL_EXT_texture_array.
---
 tests/fbo/fbo-generatemipmap-array.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/fbo/fbo-generatemipmap-array.c b/tests/fbo/fbo-generatemipmap-array.c
index 12c9e30..187f0ac 100644
--- a/tests/fbo/fbo-generatemipmap-array.c
+++ b/tests/fbo/fbo-generatemipmap-array.c
@@ -395,6 +395,7 @@ void piglit_init(int argc, char **argv)
 {
 	piglit_require_extension("GL_EXT_framebuffer_object");
 	piglit_require_extension("GL_EXT_texture_array");
+	piglit_require_extension("GL_MESA_texture_array");
 
 	/* Make shader programs */
 	frag_shader_2d_array =
-- 
1.7.5.4



More information about the Piglit mailing list