VirtualBox

Ignore:
Timestamp:
Jul 6, 2010 11:47:17 AM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: swapchain & render target fixes

File:
1 edited

Legend:

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

    r28475 r30657  
    102102
    103103    IWineD3DSwapChainImpl *This = (IWineD3DSwapChainImpl *)iface;
     104
     105#ifdef VBOXWDDM
     106    if (iBackBuffer == ~0UL)
     107    {
     108        *ppBackBuffer = This->frontBuffer;
     109        if(*ppBackBuffer) IWineD3DSurface_AddRef(*ppBackBuffer);
     110        return WINED3D_OK;
     111    }
     112#endif
    104113
    105114    if (iBackBuffer > This->presentParms.BackBufferCount - 1) {
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