Browse Source

fix decal prob with cards that use blending to disable colorwrites

cxgeorge 23 years ago
parent
commit
5b0d17f5be
1 changed files with 0 additions and 3 deletions
  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;
   }
 
-  // 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?
   switch (color_blend_mode) {
   case ColorBlendAttrib::M_none: