Stefan Dösinger stefandoesinger@gmx.at writes:
Am 31.05.2011 um 11:10 schrieb Alexandre Julliard:
I still don't see the point of that kind of switch statement. To be honest I don't see either why we even need different enum types in the first place.
Because for most enums the d3d8 ones differ from the d3d9 ones but have the same name. We cannot include d3d9types.h in d3d8 and ddraw but we still have to talk to wined3d.
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.