Make tour a simple example instead of a crate

This commit is contained in:
Héctor Ramón Jiménez 2019-10-06 20:06:13 +02:00
parent 7765e6da50
commit 5286ef36b6
10 changed files with 1 additions and 80 deletions

View file

@ -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);