Mercurial > mm7
comparison Render.cpp @ 1831:d7791af42deb
m
author | Ritor1 |
---|---|
date | Mon, 07 Oct 2013 21:56:47 +0600 |
parents | dfafcd39c67b |
children | f3b106aff057 |
comparison
equal
deleted
inserted
replaced
1801:3a41be960164 | 1831:d7791af42deb |
---|---|
6429 memset(&desc, 0, sizeof(DDSURFACEDESC2)); | 6429 memset(&desc, 0, sizeof(DDSURFACEDESC2)); |
6430 desc.dwSize = sizeof(DDSURFACEDESC2); | 6430 desc.dwSize = sizeof(DDSURFACEDESC2); |
6431 | 6431 |
6432 if ( LockSurface_DDraw4(pNextSurf, &desc, DDLOCK_WAIT | DDLOCK_WRITEONLY) ) | 6432 if ( LockSurface_DDraw4(pNextSurf, &desc, DDLOCK_WAIT | DDLOCK_WRITEONLY) ) |
6433 { | 6433 { |
6434 /*Dst.sub_451007_scale_image_bicubic( | 6434 Dst.sub_451007_scale_image_bicubic( |
6435 pHWLTexture->pPixels, | 6435 pHWLTexture->pPixels, |
6436 pHWLTexture->uWidth, | 6436 pHWLTexture->uWidth, |
6437 pHWLTexture->uHeight, | 6437 pHWLTexture->uHeight, |
6438 pHWLTexture->uWidth, | 6438 pHWLTexture->uWidth, |
6439 (unsigned short *)desc.lpSurface, | 6439 (unsigned short *)desc.lpSurface, |
6440 desc.dwWidth, | 6440 desc.dwWidth, |
6441 desc.dwHeight, | 6441 desc.dwHeight, |
6442 desc.lPitch >> 1, | 6442 desc.lPitch >> 1, |
6443 0, | 6443 0, |
6444 0);*/ | 6444 0); |
6445 ErrD3D(pNextSurf->Unlock(0)); | 6445 ErrD3D(pNextSurf->Unlock(0)); |
6446 //bMipMaps = 0x4D86ACu; | 6446 //bMipMaps = 0x4D86ACu; |
6447 } | 6447 } |
6448 if (FAILED(pNextSurf->GetAttachedSurface(&v19, &pNextSurf))) | 6448 if (FAILED(pNextSurf->GetAttachedSurface(&v19, &pNextSurf))) |
6449 break; | 6449 break; |