summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-05-23 17:05:38 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-05-23 18:50:34 +0300
commit7b4f5b86af532ecea9dba4221bcac94f93ba1f01 (patch)
tree47a73e29e1de8aea6096f4f5ac81feb4c8ee6e02 /src
parent72bc22292f237c0714a1b13cc156117e5230b6bb (diff)
downloadqtlocation-mapboxgl-7b4f5b86af532ecea9dba4221bcac94f93ba1f01.tar.gz
[core] Restore default texture unit
Play nice with the GL context when we are sharing it.
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/renderer/painter_symbol.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/renderer/painter_symbol.cpp b/src/mbgl/renderer/painter_symbol.cpp
index 611f0c53e7..de3f109572 100644
--- a/src/mbgl/renderer/painter_symbol.cpp
+++ b/src/mbgl/renderer/painter_symbol.cpp
@@ -289,4 +289,5 @@ void Painter::renderSymbol(SymbolBucket& bucket,
}
+ config.activeTexture = GL_TEXTURE0;
}