Dispatch keystrokes and fix rerendering when window invalidated
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
parent
f5df3681f8
commit
046fe3fff9
9 changed files with 55 additions and 27 deletions
|
@ -97,6 +97,7 @@ impl Renderer {
|
|||
for quad_batch in layer.quads().chunks(batch_size) {
|
||||
for (ix, quad) in quad_batch.iter().enumerate() {
|
||||
let bounds = quad.bounds * scene.scale_factor();
|
||||
log::info!("render quad {:?}", quad);
|
||||
let shader_quad = shaders::GPUIQuad {
|
||||
origin: bounds.origin().to_float2(),
|
||||
size: bounds.size().to_float2(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue