[WINED3D 6/8] Stateblock support for dmap and vtf samplers
hverbeet at gmail.com
Tue Oct 3 13:02:44 CDT 2006
On 03/10/06, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> > Can this be done by anybody or does one need to be a Wine D3D guru for
> > that? If the task is easy it would be a good addition to
> > http://wiki.winehq.org/JanitorialProjects .
> It is nothing special. Just remove the #include "d3d9.h", and for every data
> type D3DFOOBAR that is missing add a WINED3DFOOBAR type to
> include/wine/wined3d_types.h and modify include/wine/wined3d_interface.h and
> the code in dlls/wined3d/ to use it. Add typecasts in dlls/ddraw, dlls/d3d8
> and dlls/d3d9 as necessary.
There are probably a couple of macros as well, but you should be able
to just copy those over as well. For the most part it comes down to
duplicating code and giving it a slightly different name :-)
More information about the wine-devel