ddraw: Don't allow SetPalette on mipmap sublevels instead of root surfaces.

Ričardas Barkauskas rbarkauskas at codeweavers.com
Fri Sep 2 08:37:20 CDT 2011


Should help 28157, 28217, 28227. Though 28157 seems to be also suffering 
from another regression, which causes crash before reaching bug caused 
by SetPalette.
---
  dlls/ddraw/surface.c        |    2 +-
  dlls/ddraw/tests/d3d.c      |    3 +
  dlls/ddraw/tests/dsurface.c |  101 
+++++++++++++++++++++++++++++++++++++++++++
  3 files changed, 105 insertions(+), 1 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ddraw-Don-t-allow-SetPalette-on-mip-map-sublevels-inst.txt
Type: text/x-patch
Size: 6363 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110902/a14c5649/attachment.bin>


More information about the wine-patches mailing list