From: Ian Romanick <[email protected]>
Signed-off-by: Ian Romanick <[email protected]>
---
tests/texturing/getteximage-depth.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/texturing/getteximage-depth.c
b/tests/texturing/getteximage-depth.c
index 2986962..bc79466 100644
--- a/tests/texturing/getteximage-depth.c
+++ b/tests/texturing/getteximage-depth.c
@@ -592,6 +592,8 @@ piglit_init(int argc, char **argv)
enum piglit_result status = PIGLIT_PASS;
bool ret;
+ piglit_require_extension("GL_ARB_depth_texture");
+
for (i = 0; i < ARRAY_SIZE(target_list); i++) {
switch (target_list[i]) {
--
2.9.4
_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit