VirtualBox

Ignore:
Timestamp:
Jan 25, 2012 7:02:14 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75895
Message:

wine/d3d: proper habdling of context destruction and tls stuff

File:
1 edited

Legend:

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

    r39602 r39869  
    139139        This->backBuffer = NULL;
    140140    }
    141 #if 0
     141#ifndef VBOX_WINE_WITH_SINGLE_CONTEXT
    142142    for (i = 0; i < This->num_contexts; ++i)
    143143    {
    144144        context_destroy(This->device, This->context[i]);
    145145    }
    146 #else
     146#endif
    147147
    148148#ifdef VBOX_WITH_WDDM
     
    158158    IWineD3DDevice_RemoveSwapChain((IWineD3DDevice*)This->device, (IWineD3DSwapChain*)This);
    159159    if (!This->device->NumberOfSwapChains)
    160 #endif
    161160    {
    162161        /* Restore the screen resolution if we rendered in fullscreen
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