diff options
author | Juha Alanen <juha.alanen@mapbox.com> | 2020-03-09 11:24:47 +0200 |
---|---|---|
committer | Juha Alanen <juha.alanen@mapbox.com> | 2020-03-12 13:27:58 +0200 |
commit | cf7bffb0ff69056a45a2517c7824aec54a0d6968 (patch) | |
tree | d0096dcb78e11506a781b167c0be165012a2f273 | |
parent | 639434b3efd144b465f2dd118cb3b9acce2b6b31 (diff) | |
download | qtlocation-mapboxgl-cf7bffb0ff69056a45a2517c7824aec54a0d6968.tar.gz |
[test] Run Annotations DebugSparse test only with OpenGL renderer
-rw-r--r-- | test/api/annotations.test.cpp | 4 |
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; |