client almost builds

This commit is contained in:
d1str4ught
2025-08-19 00:20:40 +02:00
parent 4be475f111
commit be56f3f31a
1090 changed files with 126610 additions and 14032 deletions

View File

@@ -113,10 +113,10 @@ void CBlockTexture::InvalidateRect(const RECT & c_rsrcRect)
// DIBBAR_LONGSIZE_BUGFIX
const RECT clipRect = {
max(c_rsrcRect.left - dstRect.left, 0),
max(c_rsrcRect.top - dstRect.top, 0),
min(c_rsrcRect.right - dstRect.left, dstRect.right - dstRect.left),
min(c_rsrcRect.bottom - dstRect.top, dstRect.bottom - dstRect.top),
std::max(c_rsrcRect.left - dstRect.left, 0l),
std::max(c_rsrcRect.top - dstRect.top, 0l),
std::min(c_rsrcRect.right - dstRect.left, dstRect.right - dstRect.left),
std::min(c_rsrcRect.bottom - dstRect.top, dstRect.bottom - dstRect.top),
};
// END_OF_DIBBAR_LONGSIZE_BUGFIX