mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
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.
This commit is contained in:
parent
71fdc54dde
commit
2f63146474
@ -129,10 +129,10 @@ struct _CoglClipStackEntryWindowRect
|
|||||||
CoglClipStackEntry _parent_data;
|
CoglClipStackEntry _parent_data;
|
||||||
|
|
||||||
/* The window space rectangle for this clip */
|
/* The window space rectangle for this clip */
|
||||||
float x0;
|
int x0;
|
||||||
float y0;
|
int y0;
|
||||||
float x1;
|
int x1;
|
||||||
float y1;
|
int y1;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _CoglClipStackEntryPath
|
struct _CoglClipStackEntryPath
|
||||||
|
Loading…
Reference in New Issue
Block a user