[Piglit] [PATCH 7/8] enable -fbo for texturing/array-texture
Chris Forbes
chrisf at ijw.co.nz
Sat Apr 28 17:45:00 PDT 2012
---
tests/texturing/array-texture.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/texturing/array-texture.c b/tests/texturing/array-texture.c
index b6c03f2..fbae62a 100644
--- a/tests/texturing/array-texture.c
+++ b/tests/texturing/array-texture.c
@@ -318,7 +318,7 @@ piglit_display(void)
check_error(__LINE__);
}
- glutSwapBuffers();
+ piglit_present_results();
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}
@@ -328,7 +328,7 @@ piglit_init(int argc, char **argv)
{
piglit_require_extension("GL_EXT_texture_array");
- have_MESA_texture_array = glutExtensionSupported("GL_MESA_texture_array");
+ have_MESA_texture_array = piglit_is_extension_supported("GL_MESA_texture_array");
/* Make shader programs */
frag_shader_2d_array =
--
1.7.10
More information about the Piglit
mailing list