From 6d28c44f0fd46226b23bd16e79c7a4d0b1bc35dd Mon Sep 17 00:00:00 2001 From: vladislavbelov Date: Tue, 11 Jan 2022 16:02:27 +0000 Subject: [PATCH] Removes unused method from CShaderTechnique. This was SVN commit r26201. --- source/graphics/ShaderTechnique.cpp | 8 +------- source/graphics/ShaderTechnique.h | 4 +--- 2 files changed, 2 insertions(+), 10 deletions(-) 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;