winex11: Make X11DRV_SetupGCForPatBlt independent of screen_depth.

oldstable
Roderick Colenbrander 2009-07-22 21:33:44 +02:00 committed by Alexandre Julliard
parent d01235332c
commit c6570a50f8
1 changed files with 1 additions and 1 deletions

View File

@ -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++)