From c203a0de7c0471b374d76b53befff66eb0a9bb41 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 12 Apr 2020 10:31:05 -0400 Subject: [PATCH] CGraphics: Mark skCubeBasisMats as constexpr Same behavior, minus potential runtime initializers. --- Runtime/Graphics/CGraphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Graphics/CGraphics.cpp b/Runtime/Graphics/CGraphics.cpp index 48171d31c..21202380a 100644 --- a/Runtime/Graphics/CGraphics.cpp +++ b/Runtime/Graphics/CGraphics.cpp @@ -35,7 +35,7 @@ SViewport g_Viewport = { }; u32 CGraphics::g_FrameCounter = 0; -const std::array CGraphics::skCubeBasisMats{{ +constexpr std::array CGraphics::skCubeBasisMats{{ /* Right */ {0.f, 1.f, 0.f, 1.f, 0.f, 0.f, 0.f, 0.f, -1.f}, /* Left */