summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/context.h
diff options
context:
space:
mode:
authornanahi <130121847+na-na-hi@users.noreply.github.com>2024-04-15 08:28:25 -0400
committerKacper Michajłow <kasper93@gmail.com>2024-04-18 16:28:21 +0200
commitd5ec0698291692eda03f9204e3201fd739ece207 (patch)
treeb653c86c98d9e9255fe5097b170cc556c6298f5b /video/out/gpu/context.h
parentfefa1b6645dc3acded7c079ed617ccb994257c2b (diff)
downloadmpv-d5ec0698291692eda03f9204e3201fd739ece207.tar.bz2
mpv-d5ec0698291692eda03f9204e3201fd739ece207.tar.xz
video/out/gpu/context: don't use hidden flag for contexts
For contexts that have no API, just use a separate list for them. This keeps validate func for the main contexts simpler.
Diffstat (limited to 'video/out/gpu/context.h')
-rw-r--r--video/out/gpu/context.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/gpu/context.h b/video/out/gpu/context.h
index 447f40b075..f7107c9a71 100644
--- a/video/out/gpu/context.h
+++ b/video/out/gpu/context.h
@@ -35,8 +35,6 @@ struct ra_ctx_fns {
const char *type; // API type (for --gpu-api)
const char *name; // name (for --gpu-context)
- bool hidden; // hide the ra_ctx from users
-
// Resize the window, or create a new window if there isn't one yet.
// Currently, there is an unfortunate interaction with ctx->vo, and
// display size etc. are determined by it.