summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2024-02-23 15:35:14 +0100
committerLinus Färnstrand <linus@mullvad.net>2024-02-27 10:44:24 +0100
commit641fa8f5391ca4db5ed75e6fa55cdef4eeb1aabf (patch)
treeb5aaca280021b091b9cbcc050ad6b2837d8cad4f /gui/src/renderer
parent6fea2a2e9ef2b7679bddc80726771b1fffb8b918 (diff)
downloadmullvadvpn-641fa8f5391ca4db5ed75e6fa55cdef4eeb1aabf.tar.xz
mullvadvpn-641fa8f5391ca4db5ed75e6fa55cdef4eeb1aabf.zip
Update desktop UI to correctly render new map data
Diffstat (limited to 'gui/src/renderer')
-rw-r--r--gui/src/renderer/lib/3dmap.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/renderer/lib/3dmap.ts b/gui/src/renderer/lib/3dmap.ts
index a39b9e5612..61f86d97b9 100644
--- a/gui/src/renderer/lib/3dmap.ts
+++ b/gui/src/renderer/lib/3dmap.ts
@@ -174,14 +174,14 @@ class Globe {
this.landVertexBuffer,
this.landContourIndexBuffer,
contourColor,
- this.gl.LINES,
+ this.gl.LINE_STRIP,
);
// We scale down to render the land triangles behind/under the country contour lines.
mat4.scale(
globeViewMatrix, // destination matrix
globeViewMatrix, // matrix to scale
- [0.9999, 0.9999, 0.9999], // amount to scale
+ [0.99999, 0.99999, 0.99999], // amount to scale
);
// Draw land triangles.