From f6f4f7bcc70a7a4aaa40fab66f1e662494972a6f Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 19 Jul 2012 03:34:23 +0200 Subject: crash-cubemap-order: check extension support --- tests/bugs/crash-cubemap-order.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/bugs') diff --git a/tests/bugs/crash-cubemap-order.c b/tests/bugs/crash-cubemap-order.c index 3b95eaca9..4595e8e0d 100644 --- a/tests/bugs/crash-cubemap-order.c +++ b/tests/bugs/crash-cubemap-order.c @@ -24,6 +24,8 @@ piglit_init(int argc, char **argv) { GLubyte data[4096]; /* 32*32*4 */ + piglit_require_extension("GL_ARB_texture_cube_map"); + memset(data, 0, sizeof(data)); glViewport(0, 0, piglit_width, piglit_height); -- cgit v1.2.3