ref: a96a9a4e211c536cd16f1c0be4de901713ee27b7
parent: fdae64883b3e079cbb624bb7a10d09952e191382
author: rodri <rgl@antares-labs.eu>
date: Sun Nov 12 13:05:53 EST 2023
correct rgb to rgba conversion.
--- a/main.c
+++ b/main.c
@@ -453,7 +453,7 @@
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];