wined3d: Return WINED3DERR_NOTAVAILABLE when cubemapping isn't supported.

This commit is contained in:
Roderick Colenbrander 2008-03-21 20:59:14 +00:00 committed by Alexandre Julliard
parent 616944ae7e
commit 460f0d1608
1 changed files with 3 additions and 0 deletions

View File

@ -2312,6 +2312,9 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
}
}
}
} else {
TRACE_(d3d_caps)("[FAILED] - No cube texture support\n");
return WINED3DERR_NOTAVAILABLE;
}
} else if(RType == WINED3DRTYPE_SURFACE) {
/* Surface allows: