diff options
author | Neil Roberts <neil@linux.intel.com> | 2013-01-21 18:39:55 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2013-01-22 18:00:11 +0000 |
commit | 364f2325079e7cc453a3b923b8e41da28fb0276d (patch) | |
tree | 3c06700b0938e410e111eaa6b541c1379f639318 | |
parent | 51f3e28c1f89aa1d4aeea34f2d442a7bdcfcd9e0 (diff) | |
download | cogl-364f2325079e7cc453a3b923b8e41da28fb0276d.tar.gz |
tests: Mark test_framebuffer_get_bits as only working on GL
It looks like it's not meant to be valid to create a framebuffer with
an alpha-only texture as a render target on GLES. Since the following
Mesa commit, this requirement is now enforced so that the
test_framebuffer_get_bits test fails:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf300eaa
Reviewed-by: Robert Bragg <robert@linux.intel.com>
(cherry picked from commit cfb0859cab843b000f4baa3ca155a245730edcfa)
-rw-r--r-- | tests/conform/test-conform-main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/conform/test-conform-main.c b/tests/conform/test-conform-main.c index c1952cb7..c1000fd3 100644 --- a/tests/conform/test-conform-main.c +++ b/tests/conform/test-conform-main.c @@ -98,7 +98,9 @@ main (int argc, char **argv) ADD_TEST (test_bitmask, 0, 0); ADD_TEST (test_offscreen, 0, 0); - ADD_TEST (test_framebuffer_get_bits, TEST_REQUIREMENT_OFFSCREEN, 0); + ADD_TEST (test_framebuffer_get_bits, + TEST_REQUIREMENT_OFFSCREEN | TEST_REQUIREMENT_GL, + 0); ADD_TEST (test_point_size, 0, 0); ADD_TEST (test_point_sprite, |