zephr/game: fix few memory leaks (and introduced a big one). spawn particles when tiles merge

This commit is contained in:
2024-01-27 04:05:00 +02:00
parent 98c3a0f8af
commit 292f0058d5
8 changed files with 194 additions and 24 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
layout (location = 0) in vec2 vertex;
// per instance
layout (location = 1) in vec4 offset;
layout (location = 1) in vec4 offset; // x,y = position, z,w = size
layout (location = 2) in int tex_index;
layout (location = 3) in vec4 color;
layout (location = 4) in mat4 model; // this takes locations 4,5,6,7