http://bugs.winehq.org/show_bug.cgi?id=7380
------- Additional Comments From xerox_xerox2000@yahoo.co.uk 2007-03-03 04:14 ------- Created an attachment (id=5203) --> (http://bugs.winehq.org/attachment.cgi?id=5203&action=view) patch try 2
Dmitry pointed out my patch would hurt performance. On second tought i already thought it would be better to catch theexception in X11DRV_SetDIBits. Tests show that SetDIBits returns 0 on windows, whereas in wine , it just crashes. Hopefully this patch is acceptable and won't hurt performance. Anyone could comment?