cogl-clip-stack: Store window rect entries as ints not floats
authorNeil Roberts <neil@linux.intel.com>
Wed, 14 Apr 2010 14:42:57 +0000 (15:42 +0100)
committerNeil Roberts <neil@linux.intel.com>
Thu, 15 Apr 2010 13:50:26 +0000 (14:50 +0100)
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.

clutter/cogl/cogl/cogl-clip-stack.c

index 884aae6..204e6d5 100644 (file)
@@ -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