blob: d01a232ff99e9d228100ff1724e918f3c2a7f52f [file] [log] [blame]
#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);
}