Make tour a simple example instead of a crate
This commit is contained in:
parent
7765e6da50
commit
5286ef36b6
10 changed files with 1 additions and 80 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue