summaryrefslogtreecommitdiff
path: root/cogl/cogl-clip-stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-clip-stack.c')
-rw-r--r--cogl/cogl-clip-stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-clip-stack.c b/cogl/cogl-clip-stack.c
index 5cc49817..0aeb1adf 100644
--- a/cogl/cogl-clip-stack.c
+++ b/cogl/cogl-clip-stack.c
@@ -861,7 +861,7 @@ _cogl_clip_stack_flush (CoglClipStack *stack,
* down so in this case no conversion is needed.
*/
- if (cogl_is_offscreen (framebuffer))
+ if (_cogl_framebuffer_is_flipped (framebuffer))
scissor_y_start = scissor_y0;
else
{