tx11-unload.c - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
tx11-unload.c (266B)
---
1 #include <u.h>
2 #include "x11-inc.h"
3 #include <libc.h>
4 #include <draw.h>
5 #include <memdraw.h>
6 #include "x11-memdraw.h"
7
8 int
9 unloadmemimage(Memimage *i, Rectangle r, uchar *data, int ndata)
10 {
11 if(i->X)
12 _xgetxdata(i, r);
13 return _unloadmemimage(i, r, data, ndata);
14 }