diff --git a/source/graphics/ShaderTechnique.cpp b/source/graphics/ShaderTechnique.cpp index d97eb7adcb..c3876a2c1d 100644 --- a/source/graphics/ShaderTechnique.cpp +++ b/source/graphics/ShaderTechnique.cpp @@ -1,4 +1,4 @@ -/* Copyright (C) 2012 Wildfire Games. +/* Copyright (C) 2022 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify @@ -156,9 +156,3 @@ void CShaderTechnique::SetSortByDistance(bool enable) { m_SortByDistance = enable; } - -void CShaderTechnique::Reset() -{ - m_SortByDistance = false; - m_Passes.clear(); -} diff --git a/source/graphics/ShaderTechnique.h b/source/graphics/ShaderTechnique.h index 84ff4fc203..a7237ebea9 100644 --- a/source/graphics/ShaderTechnique.h +++ b/source/graphics/ShaderTechnique.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2020 Wildfire Games. +/* Copyright (C) 2022 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify @@ -105,8 +105,6 @@ public: void SetSortByDistance(bool enable); - void Reset(); - private: std::vector m_Passes;