[PATCH 1/5] wined3d: Get rid of the WINED3D_CT_NONE case in d3dfmt_convert_surface().

Henri Verbeet hverbeet at codeweavers.com
Wed Oct 1 02:18:55 CDT 2014


This is never used.
---
 dlls/wined3d/surface.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index acf3f46..272b5de 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -3168,12 +3168,6 @@ static HRESULT d3dfmt_convert_surface(const BYTE *src, BYTE *dst, UINT pitch, UI
 
     switch (conversion_type)
     {
-        case WINED3D_CT_NONE:
-        {
-            memcpy(dst, src, pitch * height);
-            break;
-        }
-
         case WINED3D_CT_P8:
             if (surface->container->swapchain && surface->container->swapchain->palette)
             {
-- 
1.7.10.4




More information about the wine-patches mailing list