Fix ScissorRect
- Breaks `TODO: Address anti-aliasing adjustments properly`
This commit is contained in:
parent
c5d6ddc126
commit
bd6b8304bd
|
@ -258,12 +258,13 @@ impl Pipeline {
|
||||||
);
|
);
|
||||||
render_pass.set_vertex_buffer(0, self.vertices.slice(..));
|
render_pass.set_vertex_buffer(0, self.vertices.slice(..));
|
||||||
render_pass.set_vertex_buffer(1, self.instances.slice(..));
|
render_pass.set_vertex_buffer(1, self.instances.slice(..));
|
||||||
|
|
||||||
render_pass.set_scissor_rect(
|
render_pass.set_scissor_rect(
|
||||||
bounds.x,
|
bounds.x,
|
||||||
bounds.y,
|
bounds.y,
|
||||||
bounds.width,
|
bounds.width,
|
||||||
// TODO: Address anti-aliasing adjustments properly
|
// TODO: Address anti-aliasing adjustments properly
|
||||||
bounds.height + 1,
|
bounds.height,
|
||||||
);
|
);
|
||||||
|
|
||||||
render_pass.draw_indexed(
|
render_pass.draw_indexed(
|
||||||
|
|
Loading…
Reference in New Issue