mirror of https://github.com/mpv-player/mpv
vo_gpu_next: fix to allow using dllimport
Address of variables can't be used for constant initialization in C language modes.
This commit is contained in:
parent
7595ea7c7c
commit
959ef843d2
|
@ -1860,7 +1860,7 @@ static void update_render_options(struct vo *vo)
|
||||||
};
|
};
|
||||||
|
|
||||||
#if PL_API_VER >= 269
|
#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_CLIP] = &pl_gamut_map_clip,
|
||||||
[GAMUT_WARN] = &pl_gamut_map_highlight,
|
[GAMUT_WARN] = &pl_gamut_map_highlight,
|
||||||
[GAMUT_DESATURATE] = &pl_gamut_map_desaturate,
|
[GAMUT_DESATURATE] = &pl_gamut_map_desaturate,
|
||||||
|
|
Loading…
Reference in New Issue