fixed the glyph panic, this still is very wrong

This commit is contained in:
2020-02-05 00:15:08 -08:00
parent f3f52becb4
commit 1fde36e42c
5 changed files with 121 additions and 23 deletions

View File

@@ -8,8 +8,7 @@ use crate::canvas::managed::shader::dynamic_vertex::RuntimeVertexDef;
use crate::canvas::managed::handles::{CanvasTextureHandle, CanvasImageHandle, CanvasFontHandle};
use crate::canvas::managed::shader::text_shader::GlyphInstance;
/// I dont know why this isnt working
/// fqowiejf
pub struct CanvasFrame {
pub colored_drawables: Vec<RuntimeVertexDef>,
pub textured_drawables: HashMap<Arc<CanvasTextureHandle>, Vec<Vec<RuntimeVertexDef>>>,