diff options
author | nanahi <130121847+na-na-hi@users.noreply.github.com> | 2024-04-17 20:26:06 -0400 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2024-04-18 16:28:21 +0200 |
commit | a6ff33425dd29fa214ee21c6b32cd283f8a18f64 (patch) | |
tree | bdd1ebfc2b87af5a51a7dcdad3ed995931e83fce /video/out/opengl/context_dxinterop.c | |
parent | 96e1f1dfa587a4f21e8a7264ab9e28fad7e5739b (diff) | |
download | mpv-a6ff33425dd29fa214ee21c6b32cd283f8a18f64.tar.bz2 mpv-a6ff33425dd29fa214ee21c6b32cd283f8a18f64.tar.xz |
video/out/gpu/context: add auto dummy context
This adds a dummy context at the start of the context lists, which
serves three purposes:
- The "auto" option is listed for --gpu-context=help.
- Some special handlings of "auto" string are removed.
- Make sure that lists have at least one element, so MP_ARRAY_SIZE()
works as intended.
Diffstat (limited to 'video/out/opengl/context_dxinterop.c')
0 files changed, 0 insertions, 0 deletions