wineps: Return 32 even for monochrome printers. Returning 1 lead to CreateCompatibleBitmap producing 1 bpp bitmaps, which is not correct.

Huw Davies huw at codeweavers.com
Tue Feb 25 07:00:34 CST 2014


---
Another option to fix this would be to add a
CreateCompatibleBitmap driver entry and also to move the
depth checking in SelectBitmap into the graphics drivers.

Alternatively a Wine specific device cap could be added.

It seems unlikely though that any app depends on this
returning 1, so this solution appears simplest.


 dlls/wineps.drv/init.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wineps-Return-32-even-for-monochrome-printers.-Retur.patch
Type: text/x-patch
Size: 602 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140225/037a4b8e/attachment.bin>


More information about the wine-patches mailing list