diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2018-01-25 14:04:13 +0100 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2018-01-31 12:58:22 +0100 |
commit | e2a4dffcb627498561d66a304ec668f8242b8342 (patch) | |
tree | 86ae0ac48465a7ebbcc0e834f26994e4164a81aa /src/mbgl/gl | |
parent | 7694c9c879ae1f9817166576a7c3b484da875ba6 (diff) | |
download | qtlocation-mapboxgl-e2a4dffcb627498561d66a304ec668f8242b8342.tar.gz |
[android] - blacklist adreno 2xx for VAO support
Diffstat (limited to 'src/mbgl/gl')
-rw-r--r-- | src/mbgl/gl/context.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/gl/context.cpp b/src/mbgl/gl/context.cpp index 7444ac112c..b6244d58c7 100644 --- a/src/mbgl/gl/context.cpp +++ b/src/mbgl/gl/context.cpp @@ -258,9 +258,10 @@ UniqueTexture Context::createTexture() { bool Context::supportsVertexArrays() const { static bool blacklisted = []() { - // Blacklist Adreno 3xx as it crashes on glBuffer(Sub)Data + // Blacklist Adreno 2xx, 3xx as it crashes on glBuffer(Sub)Data const std::string renderer = reinterpret_cast<const char*>(glGetString(GL_RENDERER)); - return renderer.find("Adreno (TM) 3") != std::string::npos; + return renderer.find("Adreno (TM) 2") != std::string::npos + || renderer.find("Adreno (TM) 3") != std::string::npos; }(); return !blacklisted && |