mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
palettizer: fix missing case for F_srgb and F_srgb_alpha
This commit is contained in:
parent
2b3a1d9d73
commit
0c2f8fec3c
@ -244,6 +244,7 @@ fully_define() {
|
||||
case EggTexture::F_rgba8:
|
||||
case EggTexture::F_rgba4:
|
||||
case EggTexture::F_rgba5:
|
||||
case EggTexture::F_srgb_alpha:
|
||||
_num_channels = 4;
|
||||
break;
|
||||
|
||||
@ -253,6 +254,7 @@ fully_define() {
|
||||
case EggTexture::F_rgb8:
|
||||
case EggTexture::F_rgb5:
|
||||
case EggTexture::F_rgb332:
|
||||
case EggTexture::F_srgb:
|
||||
_num_channels = 3;
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user