2009/4/4 Stefan Dösinger stefan@codeweavers.com:
WINED3DRESOURCETYPE WineD3DRType; TRACE("(%p)->(%d, %d, %d, %08x, %d, %d)\n", This, Adapter, DeviceType, AdapterFormat, Usage, RType, CheckFormat);
switch(RType) {
case D3DRTYPE_VERTEXBUFFER:
case D3DRTYPE_INDEXBUFFER:
WineD3DRType = WINED3DRTYPE_BUFFER;
break;
default:
WineD3DRType = RType;
break;
}
This should have been in the first patch. The same goes for the other changes touching WINED3DRESOURCETYPE.