summaryrefslogtreecommitdiffstats
path: root/wgpu/src
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu/src')
-rw-r--r--wgpu/src/renderer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/renderer.rs b/wgpu/src/renderer.rs
index f8b546b3..c167f2bf 100644
--- a/wgpu/src/renderer.rs
+++ b/wgpu/src/renderer.rs
@@ -274,7 +274,7 @@ impl Renderer {
layers: &mut Vec<Layer<'a>>,
) {
let first = layers.first().unwrap();
- let mut overlay = Layer::new(first.bounds, 0);
+ let mut overlay = Layer::new(first.bounds, Vector::new(0, 0));
let font_id =
wgpu_glyph::FontId(self.glyph_brush.borrow().fonts().len() - 1);