Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-02-19 00:16:04 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-02-19 00:16:20 +0300
commitf1a9dbb0d772d2063ede191c128f59e65ef6b3e4 (patch)
tree6951d2c5e1fa44a8bf3cb7c3933e3b54b77b008b /source
parentb5a14c381cd16aad77ba6aea95e623e83e159d4b (diff)
Fix minor mistake - only increase size of compositing when stencil -is-
set.
Diffstat (limited to 'source')
-rw-r--r--source/blender/gpu/intern/gpu_compositing.c2
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++;
}