-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 31.05.2011 um 12:12 schrieb Alexandre Julliard:
Most enums are identical, or just have an extra value or two. I don't see why you can't pass either type to wined3d since they have the same name.
Do you mean the status quo? Or do you mean using the D3DPOOL type in wined3d by including the d3d9 headers(this works in wined3d.dll itself)?
The problem here's ddraw(and d3d10/11), the functionally equivalent types work differently there, they are a set of flags in DDSURFACEDESC2. Yet we can't include d3d8types.h or d3d9types.h in ddraw because there are a handful of types that cause name conflicts. We used to do that a long time ago, but there are only a handful of types that exist in all 3 d3d versions and can be reused. In d3d10 the fixed function pipeline is gone, and so are the types related to it, but they are still needed for the wined3d interface definition.