From 2f631464743400ee4447ac872012fa85cc2c30ff Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Wed, 14 Apr 2010 15:42:57 +0100 Subject: [PATCH] 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. --- cogl/cogl-clip-stack.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cogl/cogl-clip-stack.c b/cogl/cogl-clip-stack.c index 884aae6ff..204e6d53a 100644 --- a/cogl/cogl-clip-stack.c +++ b/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