Skip to content

Commit 83fc1b0

Browse files
committed
Oops, forgot to add nop version on ios/android
1 parent c0308c4 commit 83fc1b0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/util/fill.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,14 @@ mod platform {
178178
// No-op on mobile platforms.
179179
}
180180

181+
#[allow(dead_code)]
182+
pub fn fill_window_with_fn(
183+
window: &dyn winit::window::Window,
184+
f: impl FnOnce(&mut [u32], usize, f64, u32, u32) -> Vec<[u32; 4]>,
185+
) {
186+
// No-op on mobile platforms.
187+
}
188+
181189
#[allow(dead_code)]
182190
pub fn fill_window_with_animated_color(
183191
_window: &dyn winit::window::Window,

0 commit comments

Comments
 (0)