cogl-clip-stack: Set *stencil_used_p when the stack is empty
authorNeil Roberts <neil@linux.intel.com>
Thu, 6 May 2010 13:15:04 +0000 (14:15 +0100)
committerNeil Roberts <neil@linux.intel.com>
Thu, 6 May 2010 13:15:04 +0000 (14:15 +0100)
commit0021b4aee0205057c9522a734dc1205e920d38d8
tree998b998a60a19e02b6704d717363bdc238525ecd
parentf4ee7dc0e185e7b5348539513a7fb7705a168849
cogl-clip-stack: Set *stencil_used_p when the stack is empty

If the clip stack is empty then _cogl_clip_stack_flush exits
immediately. This was missing out the assignment of *stencil_used_p at
the bottom of the function. If a path is then used after the clip is
cleared then it would think it needs to merge with the clip so the
stencil would not be cleared correctly.
clutter/cogl/cogl/cogl-clip-stack.c