Pārlūkot izejas kodu

grutil: Add missing switch case

rdb 4 gadi atpakaļ
vecāks
revīzija
4783c2902d
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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_selector:
   case TextureStage::M_normal_gloss:
+  case TextureStage::M_emission:
     // Don't know what to do with these funny modes.  We should probably raise
     // an exception or something.  Fall through for now.