wined3d: We don't offer index/vertex buffer caps. Neither do Windows drivers (at least Nvidia, Ati and Intel).
This commit is contained in:
parent
3674c77341
commit
eef51ed4ca
|
@ -2523,6 +2523,10 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
|
|||
/* Do nothing, continue with checking the format below */
|
||||
break;
|
||||
}
|
||||
} else if((RType == WINED3DRTYPE_INDEXBUFFER) || (RType == WINED3DRTYPE_VERTEXBUFFER)){
|
||||
/* For instance vertexbuffer/indexbuffer aren't supported yet because no Windows drivers seem to offer it */
|
||||
TRACE_(d3d_caps)("Unhandled resource type D3DRTYPE_INDEXBUFFER / D3DRTYPE_VERTEXBUFFER\n");
|
||||
return WINED3DERR_NOTAVAILABLE;
|
||||
}
|
||||
|
||||
/* This format is nothing special and it is supported perfectly.
|
||||
|
|
Loading…
Reference in New Issue