projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0e19c9
)
cogl-clip-stack: Store window rect entries as ints not floats
author
Neil Roberts
<neil@linux.intel.com>
Wed, 14 Apr 2010 14:42:57 +0000
(15:42 +0100)
committer
Neil 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
patch
|
blob
|
history
diff --git
a/clutter/cogl/cogl/cogl-clip-stack.c
b/clutter/cogl/cogl/cogl-clip-stack.c
index
884aae6
..
204e6d5
100644
(file)
--- 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