VirtualBox

Changeset 15977 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 15, 2009 6:42:16 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
41631
Message:

Devices/VGA: round custom video modes up to an X resolution which is a multiple of eight

File:
1 edited

Legend:

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

    r15878 r15977  
    58205820                    return VERR_VGA_INVALID_CUSTOM_MODE;
    58215821                }
     5822                /* Round up the X resolution to a multiple of eight. */
     5823                cx = (cx + 7) & ~7;
    58225824# ifdef VRAM_SIZE_FIX
    58235825                if (cx * cy * cBits / 8 >= pThis->vram_size)
Note: See TracChangeset for help on using the changeset viewer.

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