Updates for 386 OS X, add native OS X graphics from Paul Lalonde

This commit is contained in:
Russ Cox
2007-01-09 22:17:21 +00:00
parent 416371c2d3
commit c50e30b59e
16 changed files with 1020 additions and 11 deletions

View File

@ -17,6 +17,8 @@ xallocmemimage(Rectangle r, ulong chan, int pmid)
int d;
m = _allocmemimage(r, chan);
if(m == nil)
return nil;
if(chan != GREY1 && chan != xscreenchan)
return m;