Fix minor mistake - only increase size of compositing when stencil -is-
set.
This commit is contained in:
parent
b5a14c381c
commit
f1a9dbb0d7
|
@ -291,7 +291,7 @@ bool GPU_fx_compositor_initialize_passes(
|
|||
|
||||
/* scissor is missing when drawing offscreen, in that case, dimensions match exactly. In opposite case
|
||||
* add one to match viewport dimensions */
|
||||
if (!scissor_rect) {
|
||||
if (scissor_rect) {
|
||||
w++, h++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue