VirtualBox

Changeset 39501 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Dec 1, 2011 8:28:15 PM (13 years ago)
Author:
vboxsync
Message:

wine/xpdm: fix refering destroyed swapchain

File:
1 edited

Legend:

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

    r39130 r39501  
    887887    }
    888888
    889     if (context->win_handle != context->swapchain->win_handle)
     889    if (context->swapchain && context->win_handle != context->swapchain->win_handle)
    890890#endif
    891891    {
     
    19451945    device_context_remove(This, context);
    19461946    if (destroy) HeapFree(GetProcessHeap(), 0, context);
     1947#ifndef VBOX_WITH_WDDM
     1948    else context->swapchain = NULL;
     1949#endif
    19471950}
    19481951
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