From: Ian Romanick <[email protected]>

Signed-off-by: Ian Romanick <[email protected]>
---
 tests/texturing/texsubimage-depth-formats.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/texturing/texsubimage-depth-formats.c 
b/tests/texturing/texsubimage-depth-formats.c
index aa6f586..ead2811 100644
--- a/tests/texturing/texsubimage-depth-formats.c
+++ b/tests/texturing/texsubimage-depth-formats.c
@@ -170,6 +170,8 @@ load_texture(int formats_idx, int tex_size_idx)
 void
 piglit_init(int argc, char **argv)
 {
+       piglit_require_extension("GL_ARB_depth_texture");
+
        for (int i = 1; i < argc; ++i) {
                if (!strcmp(argv[i], "pbo")) {
                        piglit_require_extension("GL_ARB_pixel_buffer_object");
-- 
2.9.4

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to