clutter-offscreen-effect: Use 0,0 as the offset if no actor box
authorNeil Roberts <neil@linux.intel.com>
Fri, 4 Mar 2011 17:04:02 +0000 (17:04 +0000)
committerNeil Roberts <neil@linux.intel.com>
Fri, 4 Mar 2011 17:04:02 +0000 (17:04 +0000)
commit9e11aa38207173aaa6669ea98211174a13139db1
tree6954c67638ac2a5161ec100daf9404fea3936c29
parentd306b4bb7d7a9c8b0b02c7e940b66f51ec62e18d
clutter-offscreen-effect: Use 0,0 as the offset if no actor box

clutter_offscreen_effect_pre_paint was using the unitialized value of
the ‘box’ variable whenever the actor doesn't have a paint
volume. This patch makes it just set the offset to 0,0 instead.
clutter/clutter-offscreen-effect.c