0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +02:00

vulkan/context_display: don't fake avalibity of callbacks

There are generic fallback paths for those and it shouldn't be replaced
by noop.
This commit is contained in:
Kacper Michajłow 2024-08-24 18:24:45 +02:00
parent cb4fdb530a
commit 421df7564a

View File

@ -474,24 +474,12 @@ static int display_control(struct ra_ctx *ctx, int *events, int request, void *a
return VO_NOTIMPL;
}
static void display_wakeup(struct ra_ctx *ctx)
{
// TODO
}
static void display_wait_events(struct ra_ctx *ctx, int64_t until_time_ns)
{
// TODO
}
const struct ra_ctx_fns ra_ctx_vulkan_display = {
.type = "vulkan",
.name = "displayvk",
.description = "VK_KHR_display",
.reconfig = display_reconfig,
.control = display_control,
.wakeup = display_wakeup,
.wait_events = display_wait_events,
.init = display_init,
.uninit = display_uninit,
};