Drawable drawable;
XShmSegmentInfo shminfo;
- int shm;
+ Bool shm; /** Using shared memory images? */
};
&xm_dt->shminfo,
width, height);
if (xm_dt->tempImage == NULL) {
- xm_dt->shm = 0;
+ xm_dt->shm = False;
return;
}
mesaXErrorFlag = 0;
XDestroyImage(xm_dt->tempImage);
xm_dt->tempImage = NULL;
- xm_dt->shm = 0;
+ xm_dt->shm = False;
(void) XSetErrorHandler(old_handler);
return;
}
- xm_dt->shm = 1;
+ xm_dt->shm = True;
}
if (!debug_get_option_xlib_no_shm()) {
xm_dt->data = alloc_shm(xm_dt, size);
if (xm_dt->data) {
- xm_dt->shm = TRUE;
+ xm_dt->shm = True;
}
}