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:
Kacper Michajłow 2023-05-27 13:49:43 +02:00 committed by Niklas Haas
parent 7595ea7c7c
commit 959ef843d2
1 changed files with 1 additions and 1 deletions

View File

@ -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,