wined3d: Get rid of the WINED3D_CT_NONE case in d3dfmt_convert_surface().

This is never used.
This commit is contained in:
Henri Verbeet 2014-10-01 09:18:55 +02:00 committed by Alexandre Julliard
parent fcf4f1c697
commit c5d917777a
1 changed files with 0 additions and 6 deletions

View File

@ -3168,12 +3168,6 @@ static HRESULT d3dfmt_convert_surface(const BYTE *src, BYTE *dst, UINT pitch, UI
switch (conversion_type) switch (conversion_type)
{ {
case WINED3D_CT_NONE:
{
memcpy(dst, src, pitch * height);
break;
}
case WINED3D_CT_P8: case WINED3D_CT_P8:
if (surface->container->swapchain && surface->container->swapchain->palette) if (surface->container->swapchain && surface->container->swapchain->palette)
{ {