The accumulation buffer can only be present with the window system
framebuffer, not an FBO.  So this test fails if run with -fbo.
Set the config.requires_displayed_window option to true to require
a window system buffer.
---
 tests/general/clear-accum.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/general/clear-accum.c b/tests/general/clear-accum.c
index a8ac6bd..6a987b3 100644
--- a/tests/general/clear-accum.c
+++ b/tests/general/clear-accum.c
@@ -39,6 +39,7 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
        config.window_width = 400;
        config.window_height = 200;
        config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE | 
PIGLIT_GL_VISUAL_ACCUM;
+       config.requires_displayed_window = true;
 
 PIGLIT_GL_TEST_CONFIG_END
 
-- 
1.9.1

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to