From: Ian Romanick <[email protected]>
Signed-off-by: Ian Romanick <[email protected]>
---
tests/texturing/depthstencil-render-miplevels.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/texturing/depthstencil-render-miplevels.cpp
b/tests/texturing/depthstencil-render-miplevels.cpp
index 6a5b95f..af8f747 100644
--- a/tests/texturing/depthstencil-render-miplevels.cpp
+++ b/tests/texturing/depthstencil-render-miplevels.cpp
@@ -354,6 +354,11 @@ piglit_init(int argc, char **argv)
while ((miplevel0_size >> (max_miplevel + 1)) > 0)
++max_miplevel;
}
+
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_depth_texture");
+ piglit_require_extension("GL_ARB_texture_non_power_of_two");
+
depth_miplevel_data = (float **)calloc(max_miplevel, sizeof(float *));
stencil_miplevel_data = (uint8_t **)calloc(max_miplevel,
sizeof(uint8_t *));
--
1.8.1.4
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit