Am Sonntag, 14. Juni 2009 14:26:53 schrieb Marcus Meissner:
Hi,
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