VirtualBox

Changeset 57585 in vbox


Ignore:
Timestamp:
Aug 29, 2015 8:44:20 PM (9 years ago)
Author:
vboxsync
Message:

DevVGA: fixed wrong comparison which broke some VGA modes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r57358 r57585  
    24292429        /* Do not update the destination buffer if it is not big enough.
    24302430         * Can happen if the resize request was ignored by the driver.
     2431         * Compare with 'disp_width', because it is what the framebuffer has been resized to.
    24312432         */
    2432         if (   pDrv->cx != (uint32_t)width
     2433        if (   pDrv->cx != (uint32_t)disp_width
    24332434            || pDrv->cy != (uint32_t)height)
    24342435        {
    24352436            LogRel(("Framebuffer mismatch: vga %dx%d, drv %dx%d!!!\n",
    2436                     width, height,
     2437                    disp_width, height,
    24372438                    pDrv->cx, pDrv->cy));
    24382439            return VINF_SUCCESS;
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