nvm
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@321 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
71af92443d
commit
1adce781eb
1 changed files with 3 additions and 0 deletions
|
|
@ -324,6 +324,9 @@ MwLLPixmap MwLLCreatePixmap(MwLL handle, unsigned char* data, int width, int hei
|
|||
|
||||
r->use_render = XRenderQueryExtension(handle->display, &evbase, &erbase) ? 1 : 0;
|
||||
|
||||
/* FIXME */
|
||||
r->use_shm = 0;
|
||||
|
||||
if(r->use_shm) {
|
||||
r->image = XShmCreateImage(handle->display, DefaultVisual(handle->display, DefaultScreen(handle->display)), 24, ZPixmap, NULL, &r->shm, width, height);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue