summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralaric <alaric@netmythos.org>2024-03-30 18:37:25 -0700
committeralaric <alaric@netmythos.org>2024-03-30 18:37:25 -0700
commitdf90271f6c1e4f27e956d5127c753fb884ef7b4d (patch)
tree35c6480910a5416fd03d0c8c42f43533a7ecbe32
parent05e8fc7dd6f59402a92d001f34d13ccc7971b49b (diff)
downloadcolordots-df90271f6c1e4f27e956d5127c753fb884ef7b4d.tar.gz
colordots-df90271f6c1e4f27e956d5127c753fb884ef7b4d.zip
No dots colorful lines
-rw-r--r--src/wasm_ttd.zig2
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();