summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gpu/context.c')
-rw-r--r--video/out/gpu/context.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/video/out/gpu/context.c b/video/out/gpu/context.c
index 8dc8a5c71f..36f9c2dad5 100644
--- a/video/out/gpu/context.c
+++ b/video/out/gpu/context.c
@@ -53,7 +53,14 @@ extern const struct ra_ctx_fns ra_ctx_vulkan_wayland;
extern const struct ra_ctx_fns ra_ctx_vulkan_win;
extern const struct ra_ctx_fns ra_ctx_vulkan_xlib;
+/* Direct3D 11 */
+extern const struct ra_ctx_fns ra_ctx_d3d11;
+
static const struct ra_ctx_fns *contexts[] = {
+#if HAVE_D3D11
+ &ra_ctx_d3d11,
+#endif
+
// OpenGL contexts:
#if HAVE_ANDROID
&ra_ctx_android,