summaryrefslogtreecommitdiffstats
path: root/core/src/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/renderer')
-rw-r--r--core/src/renderer/null.rs13
1 files changed, 6 insertions, 7 deletions
diff --git a/core/src/renderer/null.rs b/core/src/renderer/null.rs
index 83688ff7..0d7b7c14 100644
--- a/core/src/renderer/null.rs
+++ b/core/src/renderer/null.rs
@@ -21,14 +21,13 @@ impl Null {
}
impl Renderer for Null {
- fn with_layer(&mut self, _bounds: Rectangle, _f: impl FnOnce(&mut Self)) {}
+ fn start_layer(&mut self) {}
- fn with_transformation(
- &mut self,
- _transformation: Transformation,
- _f: impl FnOnce(&mut Self),
- ) {
- }
+ fn end_layer(&mut self, _bounds: Rectangle) {}
+
+ fn start_transformation(&mut self) {}
+
+ fn end_transformation(&mut self, _transformation: Transformation) {}
fn clear(&mut self) {}