From bc8e5de9bf97c74c7c998569d9b38d92c0731fd1 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 19 Dec 2011 15:53:59 +0000 Subject: [PATCH] Support reading TGA files with alpha channel --- panda/src/pnmimagetypes/pnmFileTypeTGA.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/pnmimagetypes/pnmFileTypeTGA.cxx b/panda/src/pnmimagetypes/pnmFileTypeTGA.cxx index 84ea0e55e5..ac1bcfd6c7 100644 --- a/panda/src/pnmimagetypes/pnmFileTypeTGA.cxx +++ b/panda/src/pnmimagetypes/pnmFileTypeTGA.cxx @@ -315,7 +315,7 @@ Reader(PNMFileType *type, istream *file, bool owns_file, string magic_number) : _x_size = cols; _y_size = rows; - _num_channels = 3; + //_num_channels = 3; }