From 6ebf38624937c6cff843ada185063b077e1e19df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Wed, 30 Apr 2025 01:30:53 +0200 Subject: [PATCH] Fix missing `is_empty` in `image::Batch` --- wgpu/src/image/null.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wgpu/src/image/null.rs b/wgpu/src/image/null.rs index c06d56be..cfcd53fc 100644 --- a/wgpu/src/image/null.rs +++ b/wgpu/src/image/null.rs @@ -7,4 +7,8 @@ impl Batch { pub fn push(&mut self, _image: Image) {} pub fn clear(&mut self) {} + + pub fn is_empty(&self) -> bool { + true + } }