diff options
author | alaric <alaric@netmythos.org> | 2024-03-30 18:37:25 -0700 |
---|---|---|
committer | alaric <alaric@netmythos.org> | 2024-03-30 18:37:25 -0700 |
commit | df90271f6c1e4f27e956d5127c753fb884ef7b4d (patch) | |
tree | 35c6480910a5416fd03d0c8c42f43533a7ecbe32 | |
parent | 05e8fc7dd6f59402a92d001f34d13ccc7971b49b (diff) | |
download | colordots-df90271f6c1e4f27e956d5127c753fb884ef7b4d.tar.gz colordots-df90271f6c1e4f27e956d5127c753fb884ef7b4d.zip |
No dots colorful lines
-rw-r--r-- | src/wasm_ttd.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm_ttd.zig b/src/wasm_ttd.zig index 0ee02a5..37352fc 100644 --- a/src/wasm_ttd.zig +++ b/src/wasm_ttd.zig @@ -159,7 +159,7 @@ const LineProgram = struct { const vao = webgl.createVertexArray(); webgl.bindVertexArray(vao); webgl.enableVertexAttribArray(pos_attr_location); - webgl.vertexAttribPointer(@intCast(pos_attr_location), 2, .f32, .false, 0, 0); + webgl.vertexAttribPointer(@intCast(pos_attr_location), 4, .f32, .false, 0, 0); webgl.vertexAttribDivisor(pos_attr_location, 1); const col_buffer = webgl.createBuffer(); |