VirtualBox

Ignore:
Timestamp:
Nov 5, 2008 2:42:54 AM (16 years ago)
Author:
vboxsync
Message:

s/ELEMENTS/RT_ELEMENTS/g - retiring ELEMENTS (finally).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/drv.c

    r8155 r13836  
    8787    {
    8888        PPDEV ppdev = (PPDEV)pso->dhpdev;
    89        
    90         /* The screen surface has the 'pso->dhpdev' field, 
     89
     90        /* The screen surface has the 'pso->dhpdev' field,
    9191         * and is either the screen device surface with handle = hsurfScreen,
    9292         * or a surface derived from DDRAW with address equal to the framebuffer.
     
    302302
    303303    STATPRINT;
    304    
     304
    305305#ifdef VBOX_VBVA_ADJUST_RECT
    306     /* Experimental fix for too large bitmap updates. 
     306    /* Experimental fix for too large bitmap updates.
    307307     *
    308308     * Some application do a large bitmap update event if only
     
    312312     * the current framebuffer content with the source bitmap.
    313313     *
    314      * The optimization is only active when: 
     314     * The optimization is only active when:
    315315     *  - the VBVA extension is enabled;
    316316     *  - the source bitmap is not cacheable;
     
    597597            DISPDBG((1, "DrvSaveScreenBits: SS_SAVE %d\n", ppdev->cSSB));
    598598
    599             if (ppdev->cSSB >= ELEMENTS(ppdev->aSSB))
     599            if (ppdev->cSSB >= RT_ELEMENTS(ppdev->aSSB))
    600600            {
    601601                /* All slots are already in use. Fail. */
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