diff options
author | Paul Berry <stereotype441@gmail.com> | 2013-05-28 13:35:42 -0700 |
---|---|---|
committer | Paul Berry <stereotype441@gmail.com> | 2013-06-07 13:39:56 -0700 |
commit | a96dcc5ac8fbbd47923d18664fa81bbc69d3ffad (patch) | |
tree | 14b6d12fcb9a071a6c0890f8f40bd7109e44c5b9 /tests/general/masked-clear.c | |
parent | 5dec65ea1510dac1925844f05edd641f6e8ffeeb (diff) |
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 <chad.versace@linux.intel.com>
Diffstat (limited to 'tests/general/masked-clear.c')
-rw-r--r-- | tests/general/masked-clear.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |