Module: Mesa Branch: master Commit: a5de2bc2296254340a09a0f83a98ed98d2786e38 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5de2bc2296254340a09a0f83a98ed98d2786e38
Author: Jesse Natalie <jenat...@microsoft.com> Date: Wed Nov 18 18:16:10 2020 -0800 driconf: Avoid empty macro resulting in empty initializer braces MSVC is unhappy with empty initializer braces while compiling C Reviewed-by: Francisco Jerez <curroje...@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7680> --- src/util/driconf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/util/driconf.h b/src/util/driconf.h index b09ca1f3a7d..130fb1f535b 100644 --- a/src/util/driconf.h +++ b/src/util/driconf.h @@ -241,22 +241,22 @@ #define DRI_CONF_PP_CELSHADE(def) \ DRI_CONF_OPT_E(pp_celshade, def, 0, 1, \ "A post-processing filter to cel-shade the output", \ - ) + { 0 } ) #define DRI_CONF_PP_NORED(def) \ DRI_CONF_OPT_E(pp_nored, def, 0, 1, \ "A post-processing filter to remove the red channel", \ - ) + { 0 } ) #define DRI_CONF_PP_NOGREEN(def) \ DRI_CONF_OPT_E(pp_nogreen, def, 0, 1, \ "A post-processing filter to remove the green channel", \ - ) + { 0 } ) #define DRI_CONF_PP_NOBLUE(def) \ DRI_CONF_OPT_E(pp_noblue, def, 0, 1, \ "A post-processing filter to remove the blue channel", \ - ) + { 0 } ) #define DRI_CONF_PP_JIMENEZMLAA(def,min,max) \ DRI_CONF_OPT_I(pp_jimenezmlaa, def, min, max, \ _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit