VirtualBox

Ignore:
Timestamp:
Sep 16, 2010 10:00:43 AM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: wine multi-swapchain fixes, umd driver fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/surface.c

    r32508 r32545  
    488488        Assert(shared_handle);
    489489        VBOXSHRC_SET_INITIALIZED(surface);
    490         IWineD3DSurface_LoadLocation(surface, SFLAG_INTEXTURE, NULL);
     490        IWineD3DSurface_LoadLocation((IWineD3DSurface*)surface, SFLAG_INTEXTURE, NULL);
    491491        if (!VBOXSHRC_IS_SHARED_OPENED(surface))
    492492        {
     
    37923792        if (wined3d_settings.strict_draw_ordering || (dstSwapchain
    37933793                && ((IWineD3DSurface *)This == dstSwapchain->frontBuffer
    3794                 || dstSwapchain->num_contexts > 1)))
     3794#ifdef VBOXWDDM
     3795                || dstSwapchain->device->numContexts > 1
     3796#else
     3797                || dstSwapchain->num_contexts > 1
     3798#endif
     3799                )))
    37953800            wglFlush(); /* Flush to ensure ordering across contexts. */
    37963801
     
    44024407    if (wined3d_settings.strict_draw_ordering || (swapchain
    44034408            && ((IWineD3DSurface *)This == swapchain->frontBuffer
    4404             || swapchain->num_contexts > 1)))
     4409#ifdef VBOXWDDM
     4410            || swapchain->device->numContexts > 1
     4411#else
     4412            || swapchain->num_contexts > 1
     4413#endif
     4414            )))
    44054415        wglFlush(); /* Flush to ensure ordering across contexts. */
    44064416
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