Allow configuration of default font

This commit is contained in:
Héctor Ramón Jiménez 2020-01-01 17:49:48 +01:00
parent e1062a02d1
commit d96ced8e2d
8 changed files with 39 additions and 14 deletions

4
wgpu/src/settings.rs Normal file
View file

@ -0,0 +1,4 @@
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub struct Settings {
pub default_font: Option<&'static [u8]>,
}