[wined3d] repack nonpower2 textures

Oliver Stieber oliver_stieber at yahoo.co.uk
Thu Jul 28 07:13:02 CDT 2005


Hi,
    This patch optionally repacks nonpower 2 textures to the expected span length
when a textures is locked. This is necessary for games like warhammer 40k
that don't like the odd span sizes produce by default nonpower 2 support.

repacking can be quite CPU intensive and warhammer 40k is the only game so far
that needs nonpower2 texture repacking so it's turned off by default but can be turned
on via the following registry key:
HKEY_CURRENT_USER/Software/Wine/Direct3D Nonpower2Mode [repack]

Other options for nonpower2 textures will be added in the future, e.g. OpenGL2
and texturerectangle.


		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d-repack-nonpower2-os-1.patch
Type: text/x-diff
Size: 14915 bytes
Desc: 3157248353-wined3d-repack-nonpower2-os-1.patch
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050728/4f9190e7/wined3d-repack-nonpower2-os-1.bin


More information about the wine-patches mailing list