Commit 852e73a5 authored by James Abbatiello's avatar James Abbatiello Committed by Alexandre Julliard

Use XCreateImage/XGetSubImage instead of XGetImage for

X11DRV_DIB_GetImageBits.
parent d268c222
......@@ -3008,6 +3008,7 @@ INT X11DRV_DIB_GetDIBits(
descr.dc = dc;
descr.palentry = palette->logpalette.palPalEntry;
descr.bits = bits;
descr.image = NULL;
descr.lines = lines;
descr.depth = bmp->bitmap.bmBitsPixel;
descr.drawable = (Pixmap)bmp->physBitmap;
......@@ -3027,7 +3028,6 @@ INT X11DRV_DIB_GetDIBits(
EnterCriticalSection( &X11DRV_CritSection );
descr.image = (XImage *)CALL_LARGE_STACK( X11DRV_BITMAP_GetXImage, bmp );
CALL_LARGE_STACK( X11DRV_DIB_GetImageBits, &descr );
LeaveCriticalSection( &X11DRV_CritSection );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment