From a96dcc5ac8fbbd47923d18664fa81bbc69d3ffad Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Tue, 28 May 2013 13:35:42 -0700 Subject: Set config.requires_displayed_window in tests that use front buffers. When running tests with a non-composited window manager, it isn't safe to access the front buffer until after the window is shown. This patch sets config.requires_displayed_window in tests that access front buffers, to make sure that the piglit framework exposes the window, even when testing in "-auto" mode. Reviewed-by: Chad Versace --- tests/general/masked-clear.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/general/masked-clear.c') diff --git a/tests/general/masked-clear.c b/tests/general/masked-clear.c index fdf81ba6d..21fe944f1 100644 --- a/tests/general/masked-clear.c +++ b/tests/general/masked-clear.c @@ -39,6 +39,7 @@ PIGLIT_GL_TEST_CONFIG_BEGIN PIGLIT_GL_VISUAL_DEPTH | PIGLIT_GL_VISUAL_STENCIL | PIGLIT_GL_VISUAL_DOUBLE); + config.requires_displayed_window = true; PIGLIT_GL_TEST_CONFIG_END -- cgit v1.2.3