On Sun, Jun 14, 2009 at 04:30:30PM +0200, Stefan Dösinger wrote: > 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
Here: /home/marcus/projects/wine/dlls/d3d9/device.c: In Funktion »reset_enum_callback«: /home/marcus/projects/wine/dlls/d3d9/device.c:461:9: Warnung: case-Wert »7« nicht in Aufzählungstyp »WINED3DRESOURCETYPE« Ciao, Marcus