mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
Separate XShm using code.
This commit is contained in:
parent
ddaacaa0d8
commit
e8ccafe4f7
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue