plan9port/src/libdraw/x11-unload.c

16 lines
267 B
C
Raw Normal View History

2003-09-30 17:47:42 +00:00
#include <u.h>
2004-03-26 01:59:35 +00:00
#include "x11-inc.h"
2003-09-30 17:47:42 +00:00
#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);
2003-09-30 17:47:42 +00:00
return _unloadmemimage(i, r, data, ndata);
}