mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-23 08:07:07 +00:00
Do overlap checks based on window, not gstate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16268 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cc6c1c8b5b
commit
78ae31019c
1 changed files with 2 additions and 2 deletions
|
@ -570,7 +570,7 @@ static BOOL _rect_advance(rect_trace_t *t, int *x0, int *x1)
|
|||
things bottom-up instead of top-down. If so, we flip the
|
||||
coordinates here. */
|
||||
order = 0;
|
||||
if (ags == self && sy0 <= cy0)
|
||||
if (ags->wi == self->wi && sy0 <= cy0)
|
||||
{
|
||||
order = 1;
|
||||
dst += dbpl * (cy1 - 1);
|
||||
|
@ -945,7 +945,7 @@ static BOOL _rect_advance(rect_trace_t *t, int *x0, int *x1)
|
|||
things bottom-up instead of top-down. If so, we flip the
|
||||
coordinates here. */
|
||||
order = 0;
|
||||
if (ags == self && sy0 <= cy0)
|
||||
if (ags->wi == self->wi && sy0 <= cy0)
|
||||
{
|
||||
order = 1;
|
||||
dst += dbpl * (cy1 - 1);
|
||||
|
|
Loading…
Reference in a new issue