d3drm: Add support for D3DRMLOAD_FROMFILE in IDirect3DRMMeshBuilder3_Load.

This commit is contained in:
Christian Costa 2012-05-25 08:04:54 +02:00 committed by Alexandre Julliard
parent 0b0985f391
commit a33037abd1
1 changed files with 5 additions and 0 deletions

View File

@ -1309,6 +1309,11 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_Load(IDirect3DRMMeshBuilder3*
{
load_options = DXFILELOAD_FROMMEMORY;
}
else if (loadflags == D3DRMLOAD_FROMFILE)
{
load_options = DXFILELOAD_FROMFILE;
TRACE("Loading from file %s\n", debugstr_a(filename));
}
else
{
FIXME("Load options %d not supported yet\n", loadflags);