swf: Different blur impotency check

This commit is contained in:
TÖRÖK Attila 2023-07-24 22:02:52 +02:00 committed by Nathan Adams
parent 365f6bee6e
commit 41377c5472
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ impl BlurFilter {
} }
pub fn impotent(&self) -> bool { pub fn impotent(&self) -> bool {
self.blur_x == Fixed16::ZERO && self.blur_y == Fixed16::ZERO self.num_passes() == 0 || (self.blur_x <= Fixed16::ONE && self.blur_y <= Fixed16::ONE)
} }
} }