Fix minor mistake - only increase size of compositing when stencil -is-

set.
This commit is contained in:
Antonis Ryakiotakis 2015-02-18 22:16:04 +01:00
parent b5a14c381c
commit f1a9dbb0d7
1 changed files with 1 additions and 1 deletions

View File

@ -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++;
}