mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fix decal prob with cards that use blending to disable colorwrites
This commit is contained in:
parent
835a318c2b
commit
5b0d17f5be
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user