Skip to content

Commit

Permalink
Use C++ interface for CopyRects
Browse files Browse the repository at this point in the history
  • Loading branch information
KSSBrawl committed Nov 25, 2024
1 parent bbbe6a2 commit 8ccabe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AnmManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ void AnmManager::DrawEndingRect(i32 surfaceIdx, i32 rectX, i32 rectY, i32 rectLe
rect.bottom = rectTop + height;
point.x = rectX;
point.y = rectY;
IDirect3DDevice8_CopyRects(g_Supervisor.d3dDevice, this->surfaces[surfaceIdx], &rect, 1, D3D_Surface, &point);
g_Supervisor.d3dDevice->CopyRects(this->surfaces[surfaceIdx], &rect, 1, D3D_Surface, &point);
D3D_Surface->Release();
}

Expand Down

0 comments on commit 8ccabe6

Please sign in to comment.