dx8 (mostly texture related) patch

Ann and Jason Edmeades us at the-edmeades.demon.co.uk
Sat Oct 26 06:18:01 CDT 2002

This patch makes the code the best so far and fixes a number of problems

- Initialize the texture state information
- Add dummy textures so texture operations which dont reference the texture
can work
- Support 2d and 3d textures properly
- Reapply the texture state information as textures get set, as opengl
stores the state along with the bound texture whereas directx uses the
current state information during the draw stage.
- 3rd attempt to sort out lighting, for programs which dont set normals
- Temporarily silence some unnecessary fixmes

Note the fixmes are silenced because I have made the default texture and
render states according to the docs, but some of them are not supported
(yet) and often harmless. Each time a texture is changed, I reapply all the
states and continually get the fixmes.

Once more of the states are supported, I will revert back to a fixme for the
ones which are left

-------------- next part --------------
A non-text attachment was scrubbed...
Name: d3d8.code.patch
Type: application/octet-stream
Size: 28307 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20021026/f5cf07ae/d3d8.code.obj

More information about the wine-patches mailing list