Changeset 38903 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/swapchain.c
- Timestamp:
- Sep 29, 2011 4:20:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/swapchain.c
r33656 r38903 312 312 return ret; 313 313 } 314 315 #ifdef VBOX_WITH_WDDM 316 VBOXWINEEX_DECL(HRESULT) VBoxWineExD3DSwapchain9Present(IDirect3DSwapChain9 *iface, 317 IDirect3DSurface9 *surf) /* use the given surface as a frontbuffer content source */ 318 { 319 IDirect3DSwapChain9Impl *This = (IDirect3DSwapChain9Impl *)iface; 320 IDirect3DSurface9Impl *rt = (IDirect3DSurface9Impl *) surf; 321 HRESULT hr; 322 wined3d_mutex_lock(); 323 hr = IWineD3DSwapChain_PresentRt(This->wineD3DSwapChain, rt->wineD3DSurface); 324 wined3d_mutex_unlock(); 325 return hr; 326 } 327 #endif
Note:
See TracChangeset
for help on using the changeset viewer.