summaryrefslogtreecommitdiffstats
path: root/video/out/d3d11/context.h
blob: 8a9ef4cc0d818eef81bfb5e045f7b6c3322ff840 (plain)
1
2
3
4
5
6
7
8
9
#pragma once

#include <dxgi.h>

#include "video/out/gpu/context.h"

// Get the underlying D3D11 swap chain from an RA context. The returned swap chain is
// refcounted and must be released by the caller.
IDXGISwapChain *ra_d3d11_ctx_get_swapchain(struct ra_ctx *ra);