VirtualBox

Ignore:
Timestamp:
Sep 20, 2010 8:22:15 PM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: fix libwine crashes on winsat run

File:
1 edited

Legend:

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

    r32622 r32651  
    855855    context_validate(context
    856856#ifdef VBOX_WITH_WDDM/* tmp work-around */
    857             , (IWineD3DSwapChainImpl*)context->device->swapchains[context->device->NumberOfSwapChains-1]
     857            , NULL //(IWineD3DSwapChainImpl*)context->device->swapchains[context->device->NumberOfSwapChains-1]
    858858#endif
    859859            );
     
    16111611        else {
    16121612                                                                                                    /* tmp work-around */
    1613             context_validate(current_context, (IWineD3DSwapChainImpl*)current_context->device->swapchains[current_context->device->NumberOfSwapChains-1]);
     1613            context_validate(current_context,
     1614                    NULL //(IWineD3DSwapChainImpl*)current_context->device->swapchains[current_context->device->NumberOfSwapChains-1]
     1615                                                                                );
    16141616        }
    16151617    }
     
    20432045        else {
    20442046                                                                                                    /* tmp work-around */
    2045             context_validate(current_context, (IWineD3DSwapChainImpl*)current_context->device->swapchains[current_context->device->NumberOfSwapChains-1]);
     2047            context_validate(current_context,
     2048                    NULL //(IWineD3DSwapChainImpl*)current_context->device->swapchains[current_context->device->NumberOfSwapChains-1]
     2049                                                                                );
    20462050        }
    20472051#else
     
    20912095#ifdef VBOX_WITH_WDDM
    20922096        context_validate(context,
    2093                 (IWineD3DSwapChainImpl*)This->swapchains[This->NumberOfSwapChains-1] /* tmp work-around */
     2097                NULL //(IWineD3DSwapChainImpl*)This->swapchains[This->NumberOfSwapChains-1] /* tmp work-around */
    20942098                                 );
    20952099#endif
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