summaryrefslogtreecommitdiffstats
path: root/video/out/vo_gpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_gpu.c')
-rw-r--r--video/out/vo_gpu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/video/out/vo_gpu.c b/video/out/vo_gpu.c
index 0162e420e8..3229594d9f 100644
--- a/video/out/vo_gpu.c
+++ b/video/out/vo_gpu.c
@@ -315,14 +315,9 @@ static const m_option_t options[] = {
OPT_STRING_VALIDATE("gpu-api", context_type, 0, ra_ctx_validate_api),
OPT_FLAG("gpu-debug", opts.debug, 0),
OPT_FLAG("gpu-sw", opts.allow_sw, 0),
- OPT_INTRANGE("swapchain-depth", opts.swapchain_depth, 0, 1, 8),
{0}
};
-static const struct gpu_priv defaults = { .opts = {
- .swapchain_depth = 3,
-}};
-
const struct vo_driver video_out_gpu = {
.description = "Shader-based GPU Renderer",
.name = "gpu",
@@ -339,6 +334,5 @@ const struct vo_driver video_out_gpu = {
.wakeup = wakeup,
.uninit = uninit,
.priv_size = sizeof(struct gpu_priv),
- .priv_defaults = &defaults,
.options = options,
};