Changeset 32585 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Sep 17, 2010 10:04:55 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 65979
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r32241 r32585 333 333 int32_t yBottom; 334 334 } dirtyRect; 335 memset(&dirtyRect, 0, sizeof(dirtyRect));335 RT_ZERO(dirtyRect); 336 336 337 337 bool fUpdate = false; /* Whether there were any updates. */ 338 bool fDirtyEmpty = true; 338 339 339 340 for (;;) … … 378 379 379 380 /* Collect all rects into one. */ 380 if ( dirtyRect.xRight == 0)381 if (fDirtyEmpty) 381 382 { 382 383 /* This is the first rectangle to be added. */ … … 385 386 dirtyRect.xRight = xRight; 386 387 dirtyRect.yBottom = yBottom; 388 fDirtyEmpty = false; 387 389 } 388 390 else … … 416 418 if (fUpdate) 417 419 { 418 if (dirtyRect.xRight)420 if (dirtyRect.xRight - dirtyRect.xLeft) 419 421 { 420 422 pVGAState->pDrv->pfnVBVAUpdateEnd (pVGAState->pDrv, uScreenId, dirtyRect.xLeft, dirtyRect.yTop,
Note:
See TracChangeset
for help on using the changeset viewer.