[wined3d] oprionally repack non-power2 textures [resend]

Oliver Stieber oliver_stieber at yahoo.co.uk
Thu Sep 22 15:06:55 CDT 2005


Hi,
   This patch optionally repacks nonpower 2 textures to the expected span length
when a textures is locked. This is necessary for buggy games like Warhammer 40k
that don't work with 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.

Oliver.


		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com



More information about the wine-patches mailing list