diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-02-19 00:16:04 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-02-19 00:16:20 +0300 |
commit | f1a9dbb0d772d2063ede191c128f59e65ef6b3e4 (patch) | |
tree | 6951d2c5e1fa44a8bf3cb7c3933e3b54b77b008b /source/blender/gpu/intern/gpu_compositing.c | |
parent | b5a14c381cd16aad77ba6aea95e623e83e159d4b (diff) |
Fix minor mistake - only increase size of compositing when stencil -is-
set.
Diffstat (limited to 'source/blender/gpu/intern/gpu_compositing.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_compositing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_compositing.c b/source/blender/gpu/intern/gpu_compositing.c index 32d805035d4..89fa1a599c2 100644 --- a/source/blender/gpu/intern/gpu_compositing.c +++ b/source/blender/gpu/intern/gpu_compositing.c @@ -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++; } |