Pārlūkot izejas kodu

fix decal prob with cards that use blending to disable colorwrites

cxgeorge 23 gadi atpakaļ
vecāks
revīzija
5b0d17f5be
1 mainītis faili ar 0 papildinājumiem un 3 dzēšanām
  1. 0 3
      panda/src/dxgsg8/dxGraphicsStateGuardian8.cxx

+ 0 - 3
panda/src/dxgsg8/dxGraphicsStateGuardian8.cxx

@@ -4399,9 +4399,6 @@ set_blend_mode(ColorWriteAttrib::Mode color_write_mode,
     return;
     return;
   }
   }
 
 
-  // if ColorWriteAttrib::M_on, need to check other transp modes to see if they
-  // need blending before we use blending
-
   // Is there a color blend set?
   // Is there a color blend set?
   switch (color_blend_mode) {
   switch (color_blend_mode) {
   case ColorBlendAttrib::M_none:
   case ColorBlendAttrib::M_none: