summaryrefslogtreecommitdiffstats
path: root/video/out/vulkan/context.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2022-10-05 16:35:14 +0200
committerNiklas Haas <git@haasn.dev>2022-10-05 16:35:14 +0200
commit7f5541fc3c440a4aa5fdec2899c02d1caf7fb227 (patch)
tree776fb64752cd96999e9faf054a55f17c70f7f857 /video/out/vulkan/context.c
parenta2de6524ff8802a927d90215e8bf8be8b3d282a8 (diff)
downloadmpv-7f5541fc3c440a4aa5fdec2899c02d1caf7fb227.tar.bz2
mpv-7f5541fc3c440a4aa5fdec2899c02d1caf7fb227.tar.xz
vulkan: remove --vulkan-disable-events
This has had no effect since libplacebo v4.192.0, and was deprecated upstream a year ago. No deprecation period in mpv is justified by this being a debug / work-around option.
Diffstat (limited to 'video/out/vulkan/context.c')
-rw-r--r--video/out/vulkan/context.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/vulkan/context.c b/video/out/vulkan/context.c
index 48b9306403..f9b20fd165 100644
--- a/video/out/vulkan/context.c
+++ b/video/out/vulkan/context.c
@@ -27,7 +27,6 @@ struct vulkan_opts {
int queue_count;
int async_transfer;
int async_compute;
- int disable_events;
};
static int vk_validate_dev(struct mp_log *log, const struct m_option *opt,
@@ -99,7 +98,7 @@ const struct m_sub_options vulkan_conf = {
{"vulkan-queue-count", OPT_INT(queue_count), M_RANGE(1, 8)},
{"vulkan-async-transfer", OPT_FLAG(async_transfer)},
{"vulkan-async-compute", OPT_FLAG(async_compute)},
- {"vulkan-disable-events", OPT_FLAG(disable_events)},
+ {"vulkan-disable-events", OPT_REMOVED("Unused")},
{0}
},
.size = sizeof(struct vulkan_opts),
@@ -172,7 +171,6 @@ bool ra_vk_ctx_init(struct ra_ctx *ctx, struct mpvk_ctx *vk,
.async_compute = p->opts->async_compute,
.queue_count = p->opts->queue_count,
.device_name = p->opts->device,
- .disable_events = p->opts->disable_events,
});
if (!vk->vulkan)
goto error;