[ddraw] fix typo in copy_mipmap_chain

Tobias Jakobi liquid.acid at gmx.net
Sun Jul 27 15:05:11 CDT 2008


---
 dlls/ddraw/device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c
index 6a3ecfc..b154ce4 100644
--- a/dlls/ddraw/device.c
+++ b/dlls/ddraw/device.c
@@ -6289,7 +6289,7 @@ static void copy_mipmap_chain(IDirect3DDeviceImpl *device,
         if (src_level->surface_desc.dwWidth == dest_level->surface_desc.dwWidth &&
             src_level->surface_desc.dwHeight == dest_level->surface_desc.dwHeight)
         {
-            /* Try UpdateSurface that may perform a more direct opengl loading. But skip this is destination is paletted texture and has no palette.
+            /* Try UpdateSurface that may perform a more direct opengl loading. But skip this if destination is paletted texture and has no palette.
              * Some games like Sacrifice set palette after Load, and it is a waste of effort to try to load texture without palette and generates
              * warnings in wined3d. */
 	    if (!palette_missing)
-- 
1.5.4.5


--========GMX248481217189297134303--



More information about the wine-patches mailing list