diff options
author | Marek Olšák <maraeo@gmail.com> | 2013-01-06 05:36:32 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2013-01-15 17:22:51 +0100 |
commit | fb8977b0e53ef2233e4936b2ade1b66d335732d0 (patch) | |
tree | 5df1a3c2f4b968e36abbbf3f04d1ea342e0df6f5 | |
parent | b8ca04e0caa92a04f911f4d50d78aa5c7c785dde (diff) |
ext_framebuffer_multisample/formats: don't try invalid renderbuffer formats
Reviewed-by: Paul Berry <stereotype441@gmail.com>
-rw-r--r-- | tests/spec/ext_framebuffer_multisample/formats.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/spec/ext_framebuffer_multisample/formats.cpp b/tests/spec/ext_framebuffer_multisample/formats.cpp index 13840e1d..8ef6c7f3 100644 --- a/tests/spec/ext_framebuffer_multisample/formats.cpp +++ b/tests/spec/ext_framebuffer_multisample/formats.cpp @@ -455,6 +455,11 @@ test_format(const struct format_desc *format) { bool pass = true; + if (format->internalformat == 3 || + format->internalformat == 4) { + return PIGLIT_SKIP; + } + /* Caller messes with the clear color. Reset it to the * default. */ |