VirtualBox

Ignore:
Timestamp:
Jul 19, 2010 8:41:33 PM (14 years ago)
Author:
vboxsync
Message:

win additions burn fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/device.c

    r30916 r30917  
    713713}
    714714
    715 #ifdef VBOXWDDM
    716715VBOXWINEEX_DECL(HRESULT) VBoxWineExD3DDev9CreateTexture(IDirect3DDevice9Ex *iface,
    717716        UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format,
     
    720719                            *    applicable ONLY for SYSMEM textures */
    721720{
     721#ifdef VBOXWDDM
    722722    IDirect3DDevice9Impl *This = (IDirect3DDevice9Impl *)iface;
    723723    IDirect3DTexture9Impl *object;
     
    735735
    736736    hr = texture_init(object, This, width, height, levels, usage, format, pool
    737 #ifdef VBOXWDDM
    738737        , shared_handle
    739738        , pvClientMem
    740 #endif
    741739            );
    742740    if (FAILED(hr))
     
    751749
    752750    return D3D_OK;
    753 }
     751#else
     752    return E_NOTIMPL;
    754753#endif
     754}
    755755
    756756static HRESULT WINAPI IDirect3DDevice9Impl_CreateTexture(IDirect3DDevice9Ex *iface,
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