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:
ragnarok-clanker 2026-11-11 14:39:21 +00:00
commit 378dc0a43c

View file

@ -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))) {