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 15:24:37 +0200 |
commit | 96e32717c07d6c3986db0d9562f11e927a3aa97d (patch) | |
tree | 61d2350bebf50e1ee2ac74952ba9eaa975fe7a40 /test/api | |
parent | 461c4147481f12c3d22bfe7cb6932972a5ef0c9e (diff) | |
download | qtlocation-mapboxgl-96e32717c07d6c3986db0d9562f11e927a3aa97d.tar.gz |
[test] Run Annotations DebugSparse test only with OpenGL renderer
Diffstat (limited to 'test/api')
-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; |