From 85025612bc086340eaf4974d55d8e9a4cc1d0d8e Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Sat, 18 Dec 2021 13:28:48 -0800 Subject: [PATCH] LightingShaderGen: Make s_lighting_struct not inline This generated warnings on the freebsd builder. --- Source/Core/VideoCommon/LightingShaderGen.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/Core/VideoCommon/LightingShaderGen.h b/Source/Core/VideoCommon/LightingShaderGen.h index 4897721851..a34c04df74 100644 --- a/Source/Core/VideoCommon/LightingShaderGen.h +++ b/Source/Core/VideoCommon/LightingShaderGen.h @@ -36,13 +36,13 @@ struct LightingUidData u32 light_mask : 32; // 4x8 bits }; -constexpr inline char s_lighting_struct[] = "struct Light {\n" - "\tint4 color;\n" - "\tfloat4 cosatt;\n" - "\tfloat4 distatt;\n" - "\tfloat4 pos;\n" - "\tfloat4 dir;\n" - "};\n"; +constexpr char s_lighting_struct[] = "struct Light {\n" + "\tint4 color;\n" + "\tfloat4 cosatt;\n" + "\tfloat4 distatt;\n" + "\tfloat4 pos;\n" + "\tfloat4 dir;\n" + "};\n"; void GenerateLightingShaderCode(ShaderCode& object, const LightingUidData& uid_data, std::string_view in_color_name, std::string_view dest);