d3d10: Handle D3D10_DRIVER_TYPE_WARP in D3D10CreateDevice().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2018-08-05 02:47:45 +04:30 committed by Alexandre Julliard
parent b8027768b8
commit f6484434cb
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ HRESULT WINAPI D3D10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver
switch (driver_type)
{
case D3D10_DRIVER_TYPE_WARP:
FIXME("WARP driver not implemented, falling back to hardware.\n");
case D3D10_DRIVER_TYPE_HARDWARE:
{
hr = IDXGIFactory_EnumAdapters(factory, 0, &adapter);