miserable failure to get text rendering to work using these 'easy text rendering' tricks. Will be bringing in a third party library which I have to write the damn backend implementation for
This commit is contained in:
@@ -465,7 +465,7 @@ impl CanvasState {
|
||||
|
||||
// Specify the color to clear the framebuffer with i.e. blue
|
||||
let clear_values = vec!(
|
||||
ClearValue::Float([0.0, 0.0, 1.0, 1.0]),
|
||||
ClearValue::Float([0.0, 0.0, 0.0, 0.0]),
|
||||
ClearValue::DepthStencil((1.0, 0x00)),
|
||||
);
|
||||
|
||||
@@ -500,6 +500,7 @@ impl CanvasState {
|
||||
).unwrap();
|
||||
}
|
||||
|
||||
|
||||
// Images
|
||||
let mut shader = self.shader_buffers.get(
|
||||
self.get_shader_handle(String::from("simple_image"))
|
||||
@@ -604,7 +605,6 @@ impl CanvasState {
|
||||
).unwrap();
|
||||
}
|
||||
|
||||
|
||||
command_buffer
|
||||
.end_render_pass()
|
||||
.unwrap()
|
||||
|
||||
Reference in New Issue
Block a user