VirtualBox

Ignore:
Timestamp:
Feb 12, 2014 4:06:01 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: more assertion fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_presenter.cpp

    r50412 r50430  
    290290    if (ScaledDstWidth <= 0)
    291291    {
    292         WARN(("dst width (%d) <= 0", ScaledDstWidth));
     292        LOG(("ScaledDstWidth <= 0"));
     293        if (ScaledDstWidth < 0)
     294            WARN(("dst width (%d) < 0", ScaledDstWidth));
    293295        return;
    294296    }
     
    301303    if (ScaledDstHeight <= 0)
    302304    {
    303         WARN(("dst height (%d) <= 0", ScaledDstHeight));
     305        LOG(("ScaledDstHeight <= 0"));
     306        if (ScaledDstHeight < 0)
     307            WARN(("dst height (%d) < 0", ScaledDstHeight));
    304308        return;
    305309    }
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