summaryrefslogtreecommitdiff
path: root/convtexture.c
diff options
context:
space:
mode:
Diffstat (limited to 'convtexture.c')
-rw-r--r--convtexture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/convtexture.c b/convtexture.c
index 2670b59..a321a9d 100644
--- a/convtexture.c
+++ b/convtexture.c
@@ -39,7 +39,7 @@ unsigned encode_endpoint(const vec3* v) {
void get_block(Block* block, Colour* pixels, int stride) {
int x, y, i;
vec3 cols[4 * 4];
- vec3 palette[3];
+ vec3 palette[4];
vec3 s, e;
unsigned es, ee;
float cd;