diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-07-02 13:05:21 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-07-02 13:05:21 +0300 |
commit | b3c07b027781da81bec7f2e55a8688d933c0d10c (patch) | |
tree | 0f9c4cce73fbbebc93d1b29e4a9e689dd3558f2c | |
parent | f4c3611c8efc9f1cd3ea7c287c535711d00c6939 (diff) | |
download | qtlocation-mapboxgl-b3c07b027781da81bec7f2e55a8688d933c0d10c.tar.gz |
[core] Enforce solid fragColor for debug frame/text
-rw-r--r-- | src/mbgl/renderer/painter_debug.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/renderer/painter_debug.cpp b/src/mbgl/renderer/painter_debug.cpp index 7e751aa016..77ee2df34b 100644 --- a/src/mbgl/renderer/painter_debug.cpp +++ b/src/mbgl/renderer/painter_debug.cpp @@ -42,6 +42,7 @@ void Painter::renderDebugText(Tile& tile, const mat4 &matrix) { config.program = plainShader->getID(); plainShader->u_matrix = matrix; + plainShader->u_opacity = 1.0f; // Draw white outline plainShader->u_color = Color::white(); @@ -75,6 +76,7 @@ void Painter::renderDebugFrame(const mat4 &matrix) { config.program = plainShader->getID(); plainShader->u_matrix = matrix; + plainShader->u_opacity = 1.0f; // draw tile outline tileBorderArray.bind(*plainShader, tileBorderBuffer, BUFFER_OFFSET_0, store); |