devdraw: OS X native version
This commit is contained in:
parent
1e77a39450
commit
9142d36228
12 changed files with 2083 additions and 86 deletions
|
|
@ -294,18 +294,11 @@ static
|
|||
void
|
||||
drawflush(void)
|
||||
{
|
||||
_flushmemscreen(flushrect);
|
||||
if(flushrect.min.x < flushrect.max.x)
|
||||
_flushmemscreen(flushrect);
|
||||
flushrect = Rect(10000, 10000, -10000, -10000);
|
||||
}
|
||||
|
||||
void
|
||||
xdrawflush(void)
|
||||
{
|
||||
qlock(&sdraw.lk);
|
||||
drawflush();
|
||||
qunlock(&sdraw.lk);
|
||||
}
|
||||
|
||||
static
|
||||
int
|
||||
drawcmp(char *a, char *b, int n)
|
||||
|
|
@ -798,7 +791,7 @@ _drawmsgwrite(void *v, int n)
|
|||
|
||||
while((n-=m) > 0){
|
||||
a += m;
|
||||
/* print("msgwrite %d(%c)...", n, *a); */
|
||||
/*fprint(2, "msgwrite %d(%d)...", n, *a); */
|
||||
switch(*a){
|
||||
default:
|
||||
/*fprint(2, "bad command %d\n", *a); */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue