forked from bartvdbraak/blender
missed one more endian issue. Lynx3d saw it...
Kent
This commit is contained in:
parent
30b9de3a65
commit
a4b6dc81e4
@ -554,7 +554,8 @@ struct ImBuf *imb_loadtarga(unsigned char *mem, int flags)
|
|||||||
mem += 3;
|
mem += 3;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
col = (mem[1] << 8) + mem[0];
|
cp[1] = mem[1];
|
||||||
|
cp[0] = mem[0];
|
||||||
mem += 2;
|
mem += 2;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user