ddraw: Fix typo in copy_mipmap_chain.
This commit is contained in:
parent
f6ccbf6e4a
commit
69797d7f3d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue