Separate XShm using code

Dmitry Timoshkov dmitry at baikal.ru
Sun Dec 15 00:41:06 CST 2002


Hello.

Changelog:
    Separate XShm using code.

--- cvs/hq/wine/graphics/x11drv/dib.c	Thu Oct 31 04:41:10 2002
+++ wine/graphics/x11drv/dib.c	Sun Dec 15 05:55:54 2002
@@ -4653,6 +4653,7 @@
         }
     }
 
+#ifdef HAVE_LIBXXSHM
     if (descr->useShm)
     {
         int saveRed, saveGreen, saveBlue;
@@ -4678,6 +4679,7 @@
         bmpImage->green_mask = saveGreen;
     }
     else
+#endif /* HAVE_LIBXXSHM */
     {
         TRACE("XGetSubImage(%p,%ld,%d,%d,%d,%d,%ld,%d,%p,%d,%d)\n",
               gdi_display, descr->drawable, descr->xSrc, descr->ySrc, descr->width,







More information about the wine-patches mailing list