[WINED3D] Fix mipmap level count
ivg2 at cornell.edu
Fri Apr 21 03:21:47 CDT 2006
The current logic stops counting mipmapping level when any dimension
reaches size 1.
MSDN specifies that mipmapping should stop when we reach 1x1 size [ i.e.
when all dimensions reach 1 ].
This patch fixes an issue with MandelbrotSet.exe demo
Together with the D3DSIO_TEX patch, they are almost sufficient to get
the demo working properly.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 907 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060421/beb585dc/wine.mipmap_lcount-0001.diff
More information about the wine-patches