From c0ce37aa38173b47d3cccc8e899a186438e4485b Mon Sep 17 00:00:00 2001 From: Alex Page Date: Wed, 2 Feb 2022 17:21:37 -0500 Subject: [PATCH] Use correct type for tile glyphs --- src/tile_data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tile_data.rs b/src/tile_data.rs index db8714f..775889b 100644 --- a/src/tile_data.rs +++ b/src/tile_data.rs @@ -4,7 +4,7 @@ use crate::graphics::vga_color as vga; #[derive(PartialEq, Copy, Clone)] pub struct TileData { - pub glyph: u16, + pub glyph: FontCharType, pub color_fg: (u8, u8, u8), pub color_bg: (u8, u8, u8), pub serialized_char: char,