Decompile fn_01827 (CTextureDX7::Update)
Batch #17173 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_01827 CTextureDX7::Update: logic confirmed by peer review Peer-reviewed-by: kyoshi, br4yan Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
72239f6d1b
commit
378dc0a43c
1 changed files with 2 additions and 2 deletions
|
|
@ -397,10 +397,10 @@ void CTextureDX7::Update(const RECT* rectangle) {
|
|||
IDirectDrawSurface7* level = this->m_surface;
|
||||
|
||||
while (SUCCEEDED(level->GetAttachedSurface(&caps, &level))) {
|
||||
destination.left >>= 1;
|
||||
destination.top >>= 1;
|
||||
destination.right >>= 1;
|
||||
destination.bottom >>= 1;
|
||||
destination.left >>= 1;
|
||||
destination.right >>= 1;
|
||||
|
||||
if (destination.left != destination.right && destination.top != destination.bottom) {
|
||||
if (FAILED(level->Blt(&destination, this->m_surface, const_cast<RECT*>(rectangle), DDBLT_ASYNC, nullptr))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue