VirtualBox

Changeset 43246 in vbox for trunk


Ignore:
Timestamp:
Sep 7, 2012 2:49:19 PM (12 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: logging clean-up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c

    r35932 r43246  
    162162{
    163163    VBOXPtr pVBox = pScrn->driverPrivate;
    164     TRACE_ENTRY();
    165     if (!pVBox->useDevice)
    166         return FALSE;
    167     int rc = VbglR3RetrieveVideoMode("SavedMode", pcx, pcy, pcBits);
     164    int rc;
     165    TRACE_ENTRY();
     166    if (!pVBox->useDevice)
     167        rc = VERR_NOT_AVAILABLE;
     168    else
     169        rc = VbglR3RetrieveVideoMode("SavedMode", pcx, pcy, pcBits);
    168170    if (RT_SUCCESS(rc))
    169171        TRACE_LOG("Retrieved a video mode of %dx%dx%d\n", *pcx, *pcy, *pcBits);
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