summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 1c735f9..aa98c68 100644
--- a/main.c
+++ b/main.c
@@ -453,7 +453,7 @@ modelshader(Sparams *sp)
tp.y = Dy(modeltex->r)-(tt.p0.y + tt.p1.y + tt.p2.y)*Dy(modeltex->r);
unloadmemimage(modeltex, rectaddpt(Rect(0,0,1,1), tp), cbuf2, sizeof cbuf2);
- cbuf[0] = cbuf2[3];
+ cbuf[0] = 0xFF;
cbuf[1] = cbuf2[0];
cbuf[2] = cbuf2[1];
cbuf[3] = cbuf2[2];