mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
don't require x
This commit is contained in:
parent
9a4289cfdc
commit
e290cfc138
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ _xallocmemimage(Rectangle r, u32int chan, int pixmap)
|
|||
m = _allocmemimage(r, chan);
|
||||
if(chan != GREY1 && chan != _x.chan)
|
||||
return m;
|
||||
if(_x.display == 0)
|
||||
return m;
|
||||
|
||||
/*
|
||||
* For bootstrapping, don't bother storing 1x1 images
|
||||
|
|
Loading…
Reference in a new issue