use an event converter for bundle splitting

This commit is contained in:
Evan Almloff committed 2023-08-25 21:03:03 -05:00
1 parent 299b123446
commit ca1a502714
6 files changed
+332 -52

No files matched your search

+5
View File
@@ -26,6 +26,11 @@ impl PartialEq for ImageData {
}
impl ImageData {
/// Create a new ImageData
pub fn new(e: impl HasImageData) -> Self {
Self { inner: Box::new(e) }
}
/// If the renderer encountered an error while loading the image
pub fn load_error(&self) -> bool {
self.inner.load_error()