mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:20:30 +00:00
dxgi: Initial IDXGISwapChain::Present() implementation.
This commit is contained in:
parent
f4879dcec1
commit
964408d0bf
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue