Fix a nasty bug where CopyRects never worked!

This commit is contained in:
Luke Usher 2019-09-04 00:04:33 +01:00
parent b590dd69ae
commit b236e94935
1 changed files with 1 additions and 1 deletions

View File

@ -4783,7 +4783,7 @@ VOID WINAPI XTL::EMUPATCH(D3DDevice_CopyRects)
pHostDestSurface->GetDesc(&DestinationDesc);
// If no rectangles were given, default to 1 (entire surface)
if (cRects = 0) {
if (cRects == 0) {
cRects = 1;
}