Fix a nasty bug where CopyRects never worked!
This commit is contained in:
parent
b590dd69ae
commit
b236e94935
|
@ -4783,7 +4783,7 @@ VOID WINAPI XTL::EMUPATCH(D3DDevice_CopyRects)
|
||||||
pHostDestSurface->GetDesc(&DestinationDesc);
|
pHostDestSurface->GetDesc(&DestinationDesc);
|
||||||
|
|
||||||
// If no rectangles were given, default to 1 (entire surface)
|
// If no rectangles were given, default to 1 (entire surface)
|
||||||
if (cRects = 0) {
|
if (cRects == 0) {
|
||||||
cRects = 1;
|
cRects = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue