Separate XShm using code.

This commit is contained in:
Dmitry Timoshkov 2002-12-16 22:11:35 +00:00 committed by Alexandre Julliard
parent ddaacaa0d8
commit e8ccafe4f7

View file

@ -4653,6 +4653,7 @@ static int X11DRV_DIB_GetImageBits( const X11DRV_DIB_IMAGEBITS_DESCR *descr )
} }
} }
#ifdef HAVE_LIBXXSHM
if (descr->useShm) if (descr->useShm)
{ {
int saveRed, saveGreen, saveBlue; int saveRed, saveGreen, saveBlue;
@ -4678,6 +4679,7 @@ static int X11DRV_DIB_GetImageBits( const X11DRV_DIB_IMAGEBITS_DESCR *descr )
bmpImage->green_mask = saveGreen; bmpImage->green_mask = saveGreen;
} }
else else
#endif /* HAVE_LIBXXSHM */
{ {
TRACE("XGetSubImage(%p,%ld,%d,%d,%d,%d,%ld,%d,%p,%d,%d)\n", TRACE("XGetSubImage(%p,%ld,%d,%d,%d,%d,%ld,%d,%p,%d,%d)\n",
gdi_display, descr->drawable, descr->xSrc, descr->ySrc, descr->width, gdi_display, descr->drawable, descr->xSrc, descr->ySrc, descr->width,