wined3d: Get rid of the WINED3D_CT_NONE case in d3dfmt_convert_surface().
This is never used.
This commit is contained in:
parent
fcf4f1c697
commit
c5d917777a
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue