Browse Source

grutil: Add missing switch case

rdb 4 years ago
parent
commit
4783c2902d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/grutil/multitexReducer.cxx

+ 1 - 0
panda/src/grutil/multitexReducer.cxx

@@ -714,6 +714,7 @@ make_texture_layer(const NodePath &render,
   case TextureStage::M_height:
   case TextureStage::M_height:
   case TextureStage::M_selector:
   case TextureStage::M_selector:
   case TextureStage::M_normal_gloss:
   case TextureStage::M_normal_gloss:
+  case TextureStage::M_emission:
     // Don't know what to do with these funny modes.  We should probably raise
     // Don't know what to do with these funny modes.  We should probably raise
     // an exception or something.  Fall through for now.
     // an exception or something.  Fall through for now.