mirror of
https://github.com/penpot/penpot.git
synced 2026-06-17 04:42:03 +00:00
* ♻️ Refactor viewbox * 🎉 Add draw_atlas alternative to draw tiles * 🐛 Fix minor glitches * ♻️ Change how process_animation_frame works * ♻️ Refactor document atlas * ♻️ Refactor max texture size * ♻️ Refactor entrypoints and dead_code
17 lines
365 B
Rust
17 lines
365 B
Rust
#[macro_export]
|
|
macro_rules! notify_tiles_render_complete {
|
|
() => {{
|
|
#[cfg(target_arch = "wasm32")]
|
|
unsafe extern "C" {
|
|
pub fn wapi_notifyTilesRenderComplete();
|
|
}
|
|
|
|
#[cfg(target_arch = "wasm32")]
|
|
unsafe {
|
|
wapi_notifyTilesRenderComplete()
|
|
};
|
|
}};
|
|
}
|
|
|
|
pub use notify_tiles_render_complete;
|