mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
*** empty log message ***
This commit is contained in:
parent
35308b683e
commit
1cf3a07fee
@ -247,7 +247,7 @@ count_bytes(ImageFile *image, int x_size, int y_size) {
|
|||||||
int bytes = pixels * bpp;
|
int bytes = pixels * bpp;
|
||||||
|
|
||||||
// If we're mipmapping, it's worth 1/3 more bytes.
|
// 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_nearest_mipmap_nearest:
|
||||||
case EggTexture::FT_linear_mipmap_nearest:
|
case EggTexture::FT_linear_mipmap_nearest:
|
||||||
case EggTexture::FT_nearest_mipmap_linear:
|
case EggTexture::FT_nearest_mipmap_linear:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user