plan9port/src/libdraw/x11-unload.c
2004-03-26 01:59:35 +00:00

15 lines
267 B
C

#include <u.h>
#include "x11-inc.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);
}