From 959ef843d2752e802874b265b21ee6542388a019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Sat, 27 May 2023 13:49:43 +0200 Subject: [PATCH] vo_gpu_next: fix to allow using dllimport Address of variables can't be used for constant initialization in C language modes. --- video/out/vo_gpu_next.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,