[PATCH] wined3d: mirror d3dresourcetype
stefandoesinger at gmx.at
Sun Jun 14 09:30:30 CDT 2009
Am Sonntag, 14. Juni 2009 14:26:53 schrieb Marcus Meissner:
> gcc 4.5trunk warned that we do not handle case 7 (D3DRTYPE_INDEXBUFFER),
> so add it here too.
There's a reason why this doesn't exist - WineD3D has index and vertex buffers
merged, so there is no such thing as a specialized index buffer.
Where does this warning occur? The code that maps D3DRTYPE to WINED3DRTYPE or
vice versa should be fixed to map INDEXBUFFER to BUFFER, and take care for
the reverse conversion
More information about the wine-patches