dxgi: Initial IDXGISwapChain::Present() implementation.

This commit is contained in:
Henri Verbeet 2009-02-24 07:43:02 +01:00 committed by Alexandre Julliard
parent f4879dcec1
commit 964408d0bf
1 changed files with 7 additions and 2 deletions

View File

@ -156,9 +156,14 @@ static HRESULT STDMETHODCALLTYPE dxgi_swapchain_GetDevice(IDXGISwapChain *iface,
static HRESULT STDMETHODCALLTYPE dxgi_swapchain_Present(IDXGISwapChain *iface, UINT sync_interval, UINT flags)
{
FIXME("iface %p, sync_interval %u, flags %#x stub!\n", iface, sync_interval, flags);
struct dxgi_swapchain *This = (struct dxgi_swapchain *)iface;
return E_NOTIMPL;
TRACE("iface %p, sync_interval %u, flags %#x\n", iface, sync_interval, flags);
if (sync_interval) FIXME("Unimplemented sync interval %u\n", sync_interval);
if (flags) FIXME("Unimplemented flags %#x\n", flags);
return IWineD3DSwapChain_Present(This->wined3d_swapchain, NULL, NULL, NULL, NULL, 0);
}
static HRESULT STDMETHODCALLTYPE dxgi_swapchain_GetBuffer(IDXGISwapChain *iface,