summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-10-06 20:06:13 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-10-06 20:06:13 +0200
commit5286ef36b6a5eb6846b5675a7a4aced72601df3b (patch)
tree90f90a0e326c5c2eb598ba1a50c8096f0ea074ad /wgpu
parent7765e6da50a3448501ee1b639e580c94a4fbda8a (diff)
downloadiced-5286ef36b6a5eb6846b5675a7a4aced72601df3b.tar.gz
iced-5286ef36b6a5eb6846b5675a7a4aced72601df3b.tar.bz2
iced-5286ef36b6a5eb6846b5675a7a4aced72601df3b.zip
Make `tour` a simple example instead of a crate
Diffstat (limited to 'wgpu')
-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 56986bd1..f8f000f0 100644
--- a/wgpu/src/renderer.rs
+++ b/wgpu/src/renderer.rs
@@ -54,7 +54,7 @@ impl Renderer {
// TODO: Think about font loading strategy
// Loading system fonts with fallback may be a good idea
let font: &[u8] =
- include_bytes!("../../examples/tour/resources/Roboto-Regular.ttf");
+ include_bytes!("../../examples/resources/Roboto-Regular.ttf");
let glyph_brush = GlyphBrushBuilder::using_font_bytes(font)
.build(&mut device, TextureFormat::Bgra8UnormSrgb);