Module: wine Branch: master Commit: dc25a86cc5a34e89f65135482dc966ed5c85b00d URL: http://source.winehq.org/git/wine.git/?a=commit;h=dc25a86cc5a34e89f65135482d...
Author: Stefan Dösinger stefan@codeweavers.com Date: Wed Jul 23 10:33:10 2008 -0500
wined3d: Support ATI's D3DFMT_ATI2N format.
This is an ATI specific format designed for compressed normal maps, and quite a few games check for its existence. While it is an ATI-specific "extension" in d3d9, it is a core part of D3D10(DXGI_FORMAT_BC5), and supported on Geforce 8 cards.
---
dlls/wined3d/arb_program_shader.c | 17 +++++++++++++++++ dlls/wined3d/device.c | 3 ++- dlls/wined3d/directx.c | 10 ++++++++++ dlls/wined3d/glsl_shader.c | 20 ++++++++++++++++++++ dlls/wined3d/surface.c | 12 ++++++++---- dlls/wined3d/utils.c | 13 +++++++++++++ include/wine/wined3d_gl.h | 6 ++++++ include/wine/wined3d_types.h | 2 ++ 8 files changed, 78 insertions(+), 5 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=dc25a86cc5a34e89f65135...