summaryrefslogtreecommitdiff
path: root/src/mbgl
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2018-01-09 12:26:29 -0800
committerChris Loer <chris.loer@mapbox.com>2018-01-09 13:14:02 -0800
commit966606a1075bc1717db145f2fa677b0de8093ce9 (patch)
tree1ac62eb920159198c728eb9de584d06a00b2ecb4 /src/mbgl
parent145a0ee6d0b9f544899bff4d4c67cbf91b470a75 (diff)
downloadqtlocation-mapboxgl-966606a1075bc1717db145f2fa677b0de8093ce9.tar.gz
[core] Update debug collision circle shader.
Fixes issue #10876.
Diffstat (limited to 'src/mbgl')
-rw-r--r--src/mbgl/shaders/collision_circle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/shaders/collision_circle.cpp b/src/mbgl/shaders/collision_circle.cpp
index ac2d71d7fc..f220586245 100644
--- a/src/mbgl/shaders/collision_circle.cpp
+++ b/src/mbgl/shaders/collision_circle.cpp
@@ -68,7 +68,7 @@ void main() {
float extrude_scale_length = length(v_extrude_scale);
float extrude_length = length(v_extrude) * extrude_scale_length;
- float stroke_width = 3.0;
+ float stroke_width = 15.0 * extrude_scale_length;
float radius = v_radius * extrude_scale_length;
float distance_to_edge = abs(extrude_length - radius);