[PATCH v2 4/6] dxgi: Implement d3d12_swapchain_SetMaximumFrameLatency.
Henri Verbeet
hverbeet at gmail.com
Thu Apr 16 09:51:17 CDT 2020
On Thu, 16 Apr 2020 at 01:49, Philip Rebohle
<philip.rebohle at tu-dortmund.de> wrote:
> + if (!(swapchain->desc.Flags & DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT))
> + {
> + FIXME("DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT not set for swap chain %p.\n", iface);
> + return DXGI_ERROR_INVALID_CALL;
> + }
> +
> + if (!max_latency || max_latency > DXGI_MAX_SWAP_CHAIN_BUFFERS)
> + {
> + FIXME("Invalid maximum frame latency %u.\n", max_latency);
> + return DXGI_ERROR_INVALID_CALL;
> + }
Those should use WARN. (And likewise for patch 5/6.)
More information about the wine-devel
mailing list