From 96e32717c07d6c3986db0d9562f11e927a3aa97d Mon Sep 17 00:00:00 2001 From: Juha Alanen Date: Mon, 9 Mar 2020 11:24:47 +0200 Subject: [test] Run Annotations DebugSparse test only with OpenGL renderer --- test/api/annotations.test.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/api/annotations.test.cpp b/test/api/annotations.test.cpp index bedf7a208d..c05c2ef875 100644 --- a/test/api/annotations.test.cpp +++ b/test/api/annotations.test.cpp @@ -552,6 +552,10 @@ TEST(Annotations, DebugEmpty) { TEST(Annotations, DebugSparse) { + if (gfx::Backend::GetType() != gfx::Backend::Type::OpenGL) { + return; + } + // This test should only render the top right tile with the associated tile border, but no other // tiles because they're all empty. AnnotationTest test; -- cgit v1.2.1