summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/api/annotations.test.cpp4
1 files changed, 4 insertions, 0 deletions
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;