From 128ee0d01c1026b854c0954ef319fb7ca69c36a2 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 14 Jun 2020 19:43:41 -0400 Subject: [PATCH] CMaterialLoader: Make use of static This function doesn't touch instance state at all --- src/Core/Resource/Factory/CMaterialLoader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Resource/Factory/CMaterialLoader.h b/src/Core/Resource/Factory/CMaterialLoader.h index 5fcf57a0..42953bde 100644 --- a/src/Core/Resource/Factory/CMaterialLoader.h +++ b/src/Core/Resource/Factory/CMaterialLoader.h @@ -128,7 +128,7 @@ class CMaterialLoader CMaterialLoader(); ~CMaterialLoader(); - FVertexDescription ConvertToVertexDescription(uint32 VertexFlags); + static FVertexDescription ConvertToVertexDescription(uint32 VertexFlags); // Load Functions void ReadPrimeMatSet();