mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 09:58:12 +02:00
[cairo-traps] Use INT32_MIN/MAX instead of INT16_MIN/MAX << 16
This commit is contained in:
parent
5d28bf605f
commit
a9d8cb3e8a
1 changed files with 2 additions and 2 deletions
|
|
@ -70,8 +70,8 @@ _cairo_traps_init (cairo_traps_t *traps)
|
|||
|
||||
traps->traps_size = 0;
|
||||
traps->traps = NULL;
|
||||
traps->extents.p1.x = traps->extents.p1.y = INT16_MAX << 16;
|
||||
traps->extents.p2.x = traps->extents.p2.y = INT16_MIN << 16;
|
||||
traps->extents.p1.x = traps->extents.p1.y = INT32_MAX;
|
||||
traps->extents.p2.x = traps->extents.p2.y = INT32_MIN;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue