mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Fix for current firefox nightly
This commit is contained in:
parent
35e18937a0
commit
5c35c6b5fa
@ -24,12 +24,12 @@ fn main(
|
||||
[[location(7)]] debug_color: vec4<f32>,
|
||||
[[builtin(instance_index)]] instance_idx: u32 // instance_index is used when we have multiple instances of the same "object"
|
||||
) -> VertexOutput {
|
||||
var z = 0.0;
|
||||
let z = 0.0;
|
||||
|
||||
var m: mat3x3<f32> = mat3x3<f32>(
|
||||
target_width, 0.0, 0.0,
|
||||
0.0, target_height, 0.0,
|
||||
0.0, 0.0, 1.0
|
||||
vec3<f32>(target_width, 0.0, 0.0),
|
||||
vec3<f32>(0.0, target_height, 0.0),
|
||||
vec3<f32>(0.0, 0.0, 1.0)
|
||||
);
|
||||
|
||||
var world_pos_3d = vec3<f32>(a_position + mask_offset, z);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user