mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-15 11:20:03 +00:00
17 lines
267 B
C
17 lines
267 B
C
|
#include "x11-inc.h"
|
||
|
|
||
|
#include <u.h>
|
||
|
#include <libc.h>
|
||
|
#include <draw.h>
|
||
|
#include <memdraw.h>
|
||
|
#include "x11-memdraw.h"
|
||
|
|
||
|
int
|
||
|
unloadmemimage(Memimage *i, Rectangle r, uchar *data, int ndata)
|
||
|
{
|
||
|
if(i->X)
|
||
|
xgetxdata(i, r);
|
||
|
return _unloadmemimage(i, r, data, ndata);
|
||
|
}
|
||
|
|