Reset the scissor rect after rendering onto a renderpass (#1858)
This commit is contained in:
parent
7a46a23db5
commit
0571bf67e2
1 changed files with 2 additions and 0 deletions
|
@ -451,6 +451,8 @@ impl RenderPass {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rpass.set_scissor_rect(0, 0, size_in_pixels[0], size_in_pixels[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Should be called before `execute()`.
|
/// Should be called before `execute()`.
|
||||||
|
|
Loading…
Reference in a new issue