diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-05-23 17:05:38 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-05-23 18:50:34 +0300 |
commit | 7b4f5b86af532ecea9dba4221bcac94f93ba1f01 (patch) | |
tree | 47a73e29e1de8aea6096f4f5ac81feb4c8ee6e02 /src | |
parent | 72bc22292f237c0714a1b13cc156117e5230b6bb (diff) | |
download | qtlocation-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.cpp | 1 |
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; } |