summaryrefslogtreecommitdiff
path: root/tests/bugs
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-07-19 03:34:23 +0200
committerMarek Olšák <maraeo@gmail.com>2012-07-20 00:25:22 +0200
commitf6f4f7bcc70a7a4aaa40fab66f1e662494972a6f (patch)
tree5394ff410536fb2a43a672a76e511c54e7cce5a5 /tests/bugs
parent4f024ae1ad72c25ccc3678893ce37e33b6fecabd (diff)
crash-cubemap-order: check extension support
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/crash-cubemap-order.c2
1 files changed, 2 insertions, 0 deletions
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);