From: Neil Roberts Date: Wed, 14 Apr 2010 14:42:57 +0000 (+0100) Subject: cogl-clip-stack: Store window rect entries as ints not floats X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e9aa5d807cb29e1cdc9b8a7b627de914352e4fc1;p=profile%2Fivi%2Fclutter.git cogl-clip-stack: Store window rect entries as ints not floats The window rectangles are passed in as integers so there is no point in converting them to floats when storing a stack entry for them. --- diff --git a/clutter/cogl/cogl/cogl-clip-stack.c b/clutter/cogl/cogl/cogl-clip-stack.c index 884aae6..204e6d5 100644 --- a/clutter/cogl/cogl/cogl-clip-stack.c +++ b/clutter/cogl/cogl/cogl-clip-stack.c @@ -129,10 +129,10 @@ struct _CoglClipStackEntryWindowRect CoglClipStackEntry _parent_data; /* The window space rectangle for this clip */ - float x0; - float y0; - float x1; - float y1; + int x0; + int y0; + int x1; + int y1; }; struct _CoglClipStackEntryPath