diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2018-01-25 14:04:13 +0100 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2018-02-05 12:03:19 +0100 |
commit | c8a96bb24ff23513b67c258e60f5820ee3134802 (patch) | |
tree | 050de6d41d86190c454e1e352cfaf4ced5038390 /src | |
parent | c636b382e8bd61a05dd976d9aeb0ce5ae0894b0e (diff) | |
download | qtlocation-mapboxgl-c8a96bb24ff23513b67c258e60f5820ee3134802.tar.gz |
[android] - blacklist adreno 2xx for VAO support
Diffstat (limited to 'src')
-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 d8ade8b8b8..d1a37a861a 100644 --- a/src/mbgl/gl/context.cpp +++ b/src/mbgl/gl/context.cpp @@ -249,9 +249,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 && |