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:
parent
b8027768b8
commit
f6484434cb
|
@ -63,6 +63,8 @@ HRESULT WINAPI D3D10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver
|
||||||
|
|
||||||
switch (driver_type)
|
switch (driver_type)
|
||||||
{
|
{
|
||||||
|
case D3D10_DRIVER_TYPE_WARP:
|
||||||
|
FIXME("WARP driver not implemented, falling back to hardware.\n");
|
||||||
case D3D10_DRIVER_TYPE_HARDWARE:
|
case D3D10_DRIVER_TYPE_HARDWARE:
|
||||||
{
|
{
|
||||||
hr = IDXGIFactory_EnumAdapters(factory, 0, &adapter);
|
hr = IDXGIFactory_EnumAdapters(factory, 0, &adapter);
|
||||||
|
|
Loading…
Reference in New Issue