Skip to content

Commit

Permalink
core: Set BitmapData as synced after texture creation
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian17 authored and torokati44 committed Nov 30, 2024
1 parent 4c818bc commit 130385c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/bitmap/bitmap_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,8 @@ impl<'gc> BitmapData<'gc> {
let bitmap_handle = renderer.register_bitmap(bitmap);
if let Err(e) = &bitmap_handle {
tracing::warn!("Failed to register raw bitmap for BitmapData: {:?}", e);
} else {
self.dirty_state = DirtyState::Clean;
}
self.bitmap_handle = bitmap_handle.ok();
}
Expand Down

0 comments on commit 130385c

Please sign in to comment.