no deadlock
This commit is contained in:
parent
537f761602
commit
e03e9178e2
|
@ -110,7 +110,6 @@ scroll(void)
|
||||||
Point p;
|
Point p;
|
||||||
Rectangle r;
|
Rectangle r;
|
||||||
|
|
||||||
drawqlock();
|
|
||||||
o = 8*h;
|
o = 8*h;
|
||||||
r = Rpt(window.min, Pt(window.max.x, window.max.y-o));
|
r = Rpt(window.min, Pt(window.max.x, window.max.y-o));
|
||||||
p = Pt(window.min.x, window.min.y+o);
|
p = Pt(window.min.x, window.min.y+o);
|
||||||
|
@ -119,7 +118,6 @@ scroll(void)
|
||||||
memimagedraw(gscreen, r, back, ZP, nil, ZP, S);
|
memimagedraw(gscreen, r, back, ZP, nil, ZP, S);
|
||||||
flushmemscreen(gscreen->r);
|
flushmemscreen(gscreen->r);
|
||||||
curpos.y -= o;
|
curpos.y -= o;
|
||||||
drawqunlock();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue