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;
|
||||
break;
|
||||
case 2:
|
||||
col = (mem[1] << 8) + mem[0];
|
||||
cp[1] = mem[1];
|
||||
cp[0] = mem[0];
|
||||
mem += 2;
|
||||
break;
|
||||
case 1:
|
||||
|
Loading…
Reference in New Issue
Block a user