Module: wine Branch: master Commit: 3cead4fe1b839d7116437c839a69ff0b0275e90e URL: http://source.winehq.org/git/wine.git/?a=commit;h=3cead4fe1b839d7116437c839a...
Author: Huw Davies huw@codeweavers.com Date: Wed Jul 20 16:45:22 2011 +0100
winex11: Use the appropriate color_shifts when the target is a bitmap.
---
dlls/winex11.drv/bitblt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/bitblt.c b/dlls/winex11.drv/bitblt.c index 6ee5909..c1dc6c4 100644 --- a/dlls/winex11.drv/bitblt.c +++ b/dlls/winex11.drv/bitblt.c @@ -1973,7 +1973,7 @@ update_format: info->bmiHeader.biPlanes = 1; info->bmiHeader.biBitCount = format->bits_per_pixel; if (info->bmiHeader.biHeight > 0) info->bmiHeader.biHeight = -info->bmiHeader.biHeight; - set_color_info( dev, physdev->color_shifts, info ); + set_color_info( dev, color_shifts, info ); return ERROR_BAD_FORMAT; }