d3d10core: dxgi_format_from_wined3dformat should return DXGI_FORMAT enum values in all cases.

This commit is contained in:
Frédéric Delanoy 2011-05-16 09:47:24 +02:00 committed by Alexandre Julliard
parent 2587f702c5
commit 32f79acc1f
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ DXGI_FORMAT dxgi_format_from_wined3dformat(enum wined3d_format_id format)
case WINED3DFMT_B8G8R8X8_UNORM: return DXGI_FORMAT_B8G8R8X8_UNORM;
default:
FIXME("Unhandled wined3d format %#x.\n", format);
return WINED3DFMT_UNKNOWN;
return DXGI_FORMAT_UNKNOWN;
}
}