Refactor Viewport and Compositor
This commit is contained in:
parent
720e7756f2
commit
a1a5fcfd46
24 changed files with 202 additions and 278 deletions
|
|
@ -326,7 +326,8 @@ impl Pipeline {
|
|||
for (i, (vertex_offset, index_offset, indices)) in
|
||||
offsets.into_iter().enumerate()
|
||||
{
|
||||
let clip_bounds = meshes[i].clip_bounds * scale_factor;
|
||||
let clip_bounds =
|
||||
(meshes[i].clip_bounds * scale_factor).round();
|
||||
|
||||
render_pass.set_scissor_rect(
|
||||
clip_bounds.x,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue