summaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-storage-formats.c
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-04-06 13:32:05 -0700
committerChad Versace <chad.versace@linux.intel.com>2012-05-19 19:54:21 -0700
commitb6b6db20740153f99ee7a6e8d5cecb9354ea616f (patch)
tree95baaa8a661fdbe0ee2df46230894e4b20e2d487 /tests/fbo/fbo-storage-formats.c
parent941141e6e094163896fc44a5b1d47621ec2037bf (diff)
tests: Remove use of glutExtensionSupported
Replace it with piglit_is_extension_supported or piglit_require_extension, as appropriate. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'tests/fbo/fbo-storage-formats.c')
-rw-r--r--tests/fbo/fbo-storage-formats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/fbo/fbo-storage-formats.c b/tests/fbo/fbo-storage-formats.c
index 71bfc4566..4a2b38f26 100644
--- a/tests/fbo/fbo-storage-formats.c
+++ b/tests/fbo/fbo-storage-formats.c
@@ -242,9 +242,9 @@ piglit_init(int argc, char**argv)
piglit_require_extension("GL_EXT_framebuffer_object");
HaveExtension[0] = GL_TRUE;
- HaveExtension[EXT_packed_depth_stencil] = glutExtensionSupported("GL_EXT_packed_depth_stencil");
- HaveExtension[ARB_framebuffer_object] = glutExtensionSupported("GL_ARB_framebuffer_object");
- HaveExtension[ARB_texture_rg] = glutExtensionSupported("GL_ARB_texture_rg");
+ HaveExtension[EXT_packed_depth_stencil] = piglit_is_extension_supported("GL_EXT_packed_depth_stencil");
+ HaveExtension[ARB_framebuffer_object] = piglit_is_extension_supported("GL_ARB_framebuffer_object");
+ HaveExtension[ARB_texture_rg] = piglit_is_extension_supported("GL_ARB_texture_rg");
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
}