diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-05-27 13:49:43 +0200 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2023-05-27 14:54:59 +0200 |
commit | 959ef843d2752e802874b265b21ee6542388a019 (patch) | |
tree | 1f8e7ec32262cebd5e97ac7a5937a6595b6174ec /video/out | |
parent | 7595ea7c7c11402e91121bab9c68cd73c720b8a1 (diff) | |
download | mpv-959ef843d2752e802874b265b21ee6542388a019.tar.bz2 mpv-959ef843d2752e802874b265b21ee6542388a019.tar.xz |
vo_gpu_next: fix to allow using dllimport
Address of variables can't be used for constant initialization in C
language modes.
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/vo_gpu_next.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index e37b8cb36e..6cb7a7d4d9 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -1860,7 +1860,7 @@ static void update_render_options(struct vo *vo) }; #if PL_API_VER >= 269 - static const struct pl_gamut_map_function *gamut_modes[] = { + const struct pl_gamut_map_function *gamut_modes[] = { [GAMUT_CLIP] = &pl_gamut_map_clip, [GAMUT_WARN] = &pl_gamut_map_highlight, [GAMUT_DESATURATE] = &pl_gamut_map_desaturate, |