Browse Source

*** empty log message ***

David Rose 25 years ago
parent
commit
1cf3a07fee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pandatool/src/egg-palettize/textureMemoryCounter.cxx

+ 1 - 1
pandatool/src/egg-palettize/textureMemoryCounter.cxx

@@ -247,7 +247,7 @@ count_bytes(ImageFile *image, int x_size, int y_size) {
   int bytes = pixels * bpp;
 
   // If we're mipmapping, it's worth 1/3 more bytes.
-  switch (image->get_properties()._magfilter) {
+  switch (image->get_properties()._minfilter) {
   case EggTexture::FT_nearest_mipmap_nearest:
   case EggTexture::FT_linear_mipmap_nearest:
   case EggTexture::FT_nearest_mipmap_linear: