Roderick Colenbrander : winex11: Make X11DRV_SetupGCForPatBlt independent of screen_depth.
Alexandre Julliard
julliard at winehq.org
Thu Jul 23 10:02:22 CDT 2009
Module: wine
Branch: master
Commit: c6570a50f89b20a652e37530cca01991eb57d7d6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c6570a50f89b20a652e37530cca01991eb57d7d6
Author: Roderick Colenbrander <thunderbird2k at gmail.com>
Date: Wed Jul 22 21:33:44 2009 +0200
winex11: Make X11DRV_SetupGCForPatBlt independent of screen_depth.
---
dlls/winex11.drv/graphics.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/graphics.c b/dlls/winex11.drv/graphics.c
index abdd505..7a64022 100644
--- a/dlls/winex11.drv/graphics.c
+++ b/dlls/winex11.drv/graphics.c
@@ -233,7 +233,7 @@ BOOL X11DRV_SetupGCForPatBlt( X11DRV_PDEVICE *physDev, GC gc, BOOL fMapColors )
register int x, y;
XImage *image;
wine_tsx11_lock();
- pixmap = XCreatePixmap( gdi_display, root_window, 8, 8, screen_depth );
+ pixmap = XCreatePixmap( gdi_display, root_window, 8, 8, physDev->depth );
image = XGetImage( gdi_display, physDev->brush.pixmap, 0, 0, 8, 8,
AllPlanes, ZPixmap );
for (y = 0; y < 8; y++)
More information about the wine-cvs
mailing list