VirtualBox

Changeset 4912 in vbox for trunk/src


Ignore:
Timestamp:
Sep 20, 2007 8:30:31 AM (17 years ago)
Author:
vboxsync
Message:

Do not call the framebuffer NotifyUpdate is rectangle is empty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/DisplayImpl.cpp

    r4499 r4912  
    489489        checkCoordBounds (&x, &y, &w, &h, mpDrv->Connector.cx, mpDrv->Connector.cy);
    490490
    491         pFramebuffer->NotifyUpdate(x, y, w, h, &finished);
     491        if (w == 0 || h == 0)
     492        {
     493            /* Nothing to be updated. */
     494            finished = TRUE;
     495        }
     496        else
     497        {
     498            pFramebuffer->NotifyUpdate(x, y, w, h, &finished);
     499        }
    492500
    493501        if (!finished)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette