Browse Source

Support reading TGA files with alpha channel

rdb 14 years ago
parent
commit
bc8e5de9bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pnmimagetypes/pnmFileTypeTGA.cxx

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypeTGA.cxx

@@ -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;
 
 
 }
 }