Commit 2d06703d authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d10: Add D3D10_DRIVER_TYPE_WARP.

parent 7c6ca207
......@@ -121,6 +121,11 @@ HRESULT WINAPI D3D10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver
}
break;
}
default:
FIXME("Unhandled driver type %#x.\n", driver_type);
IDXGIFactory_Release(factory);
return E_FAIL;
}
}
......
......@@ -34,6 +34,7 @@ const char *debug_d3d10_driver_type(D3D10_DRIVER_TYPE driver_type)
WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_REFERENCE);
WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_NULL);
WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_SOFTWARE);
WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_WARP);
default:
FIXME("Unrecognized D3D10_DRIVER_TYPE %#x\n", driver_type);
return "unrecognized";
......
......@@ -30,6 +30,7 @@ typedef enum D3D10_DRIVER_TYPE {
D3D10_DRIVER_TYPE_REFERENCE = 1,
D3D10_DRIVER_TYPE_NULL = 2,
D3D10_DRIVER_TYPE_SOFTWARE = 3,
D3D10_DRIVER_TYPE_WARP = 5,
} D3D10_DRIVER_TYPE;
HRESULT WINAPI D3D10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver_type,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment