core: Invalidate cacheAsBitmap when graphics change
This commit is contained in:
parent
c39217e139
commit
8a3ccdd080
|
@ -173,6 +173,7 @@ impl<'gc> TDisplayObject<'gc> for Graphic<'gc> {
|
||||||
} else {
|
} else {
|
||||||
tracing::warn!("PlaceObject: expected Graphic at character ID {}", id);
|
tracing::warn!("PlaceObject: expected Graphic at character ID {}", id);
|
||||||
}
|
}
|
||||||
|
self.invalidate_cached_bitmap(context.gc_context);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn run_frame_avm1(&self, _context: &mut UpdateContext) {
|
fn run_frame_avm1(&self, _context: &mut UpdateContext) {
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,7 @@
|
||||||
|
num_frames = 3
|
||||||
|
|
||||||
|
[image_comparison]
|
||||||
|
tolerance = 0
|
||||||
|
|
||||||
|
[player_options]
|
||||||
|
with_renderer = { optional = false, sample_count = 1 }
|
Loading…
Reference in New Issue