mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Support reading TGA files with alpha channel
This commit is contained in:
parent
1cf7a1fd79
commit
bc8e5de9bf
@ -315,7 +315,7 @@ Reader(PNMFileType *type, istream *file, bool owns_file, string magic_number) :
|
|||||||
|
|
||||||
_x_size = cols;
|
_x_size = cols;
|
||||||
_y_size = rows;
|
_y_size = rows;
|
||||||
_num_channels = 3;
|
//_num_channels = 3;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user