Skip to content

Commit 0c2f8fe

Browse files
committed
palettizer: fix missing case for F_srgb and F_srgb_alpha
1 parent 2b3a1d9 commit 0c2f8fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandatool/src/palettizer/textureProperties.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ fully_define() {
244244
case EggTexture::F_rgba8:
245245
case EggTexture::F_rgba4:
246246
case EggTexture::F_rgba5:
247+
case EggTexture::F_srgb_alpha:
247248
_num_channels = 4;
248249
break;
249250

@@ -253,6 +254,7 @@ fully_define() {
253254
case EggTexture::F_rgb8:
254255
case EggTexture::F_rgb5:
255256
case EggTexture::F_rgb332:
257+
case EggTexture::F_srgb:
256258
_num_channels = 3;
257259
break;
258260

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy