From 9025948cedbab627a7dace47fa02a1297d899f43 Mon Sep 17 00:00:00 2001 From: Benau Date: Thu, 16 Mar 2017 10:18:31 +0800 Subject: [PATCH] Fix build --- src/graphics/materials.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/graphics/materials.hpp b/src/graphics/materials.hpp index d8f907c5c..5b7026ee0 100644 --- a/src/graphics/materials.hpp +++ b/src/graphics/materials.hpp @@ -445,7 +445,7 @@ struct SkinnedSolid static const enum InstanceType Instance; static const std::tuple FirstPassTextures; static const std::tuple SecondPassTextures; - static const std::tuple<> constexpr ShadowTextures {}; + static const std::tuple<> constexpr ShadowTextures = {}; static const std::tuple RSMTextures; }; // SkinnedSolid @@ -487,7 +487,7 @@ struct SkinnedNormalMat static const enum InstanceType Instance; static const std::tuple FirstPassTextures; static const std::tuple SecondPassTextures; - static const std::tuple<> constexpr ShadowTextures {}; + static const std::tuple<> constexpr ShadowTextures = {}; static const std::tuple RSMTextures; }; // SkinnedNormalMat @@ -530,7 +530,7 @@ struct DefaultMaterial static const enum InstanceType Instance; static const std::tuple FirstPassTextures; static const std::tuple SecondPassTextures; - static const std::tuple<> constexpr ShadowTextures {}; + static const std::tuple<> constexpr ShadowTextures = {}; static const std::tuple RSMTextures; }; // DefaultMaterial @@ -573,7 +573,7 @@ struct SphereMap static const enum InstanceType Instance; static const std::tuple FirstPassTextures; static const std::tuple SecondPassTextures; - static const std::tuple<> constexpr ShadowTextures {}; + static const std::tuple<> constexpr ShadowTextures = {}; static const std::tuple RSMTextures; }; // SphereMap @@ -639,7 +639,7 @@ struct NormalMat static const enum InstanceType Instance; static const std::tuple FirstPassTextures; static const std::tuple SecondPassTextures; - static const std::tuple<> constexpr ShadowTextures {}; + static const std::tuple<> constexpr ShadowTextures = {}; static const std::tuple RSMTextures; }; // NormalMat @@ -661,7 +661,7 @@ struct DetailMat static const enum InstanceType Instance; static const std::tuple FirstPassTextures; static const std::tuple SecondPassTextures; - static const std::tuple<> constexpr ShadowTextures {}; + static const std::tuple<> constexpr ShadowTextures = {}; static const std::tuple RSMTextures; }; // DetailMat @@ -681,7 +681,7 @@ struct SplattingMat static const std::tuple FirstPassTextures; static const std::tuple SecondPassTextures; - static const std::tuple<> constexpr ShadowTextures {}; + static const std::tuple<> constexpr ShadowTextures = {}; static const std::tuple RSMTextures; }; // SplattingMat