VirtualBox

Changeset 3057 in vbox for trunk/src


Ignore:
Timestamp:
Jun 5, 2007 7:58:39 PM (18 years ago)
Author:
vboxsync
Message:

don't use unallocated vbeInfo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/xgraphics/vboxvideo.c

    r2988 r3057  
    378378{
    379379    VBOXPtr pVBox = VBOXGetRec(pScrn);
     380#if 0
    380381    xfree(pVBox->vbeInfo);
     382#endif
    381383    xfree(pVBox->savedPal);
    382384    xfree(pVBox->fonts);
     
    734736
    735737    if(!xf86HandleColormaps(pScreen, 256,
    736         pVBox->vbeInfo->Capabilities[0] & 0x01 ? 8 : 6,
     738        8 /* DAC is switchable to 8 bits per primary color */,
    737739        VBOXLoadPalette, NULL, flags))
    738740        return (FALSE);
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