From 50934148bc9d388aab27aa61e1fcb75db245551d Mon Sep 17 00:00:00 2001 From: Daria Volvenkova Date: Fri, 24 Aug 2018 20:24:06 +0300 Subject: Unused code warning fixed. --- drape/render_state.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'drape/render_state.cpp') diff --git a/drape/render_state.cpp b/drape/render_state.cpp index a6efc153b7..1d317f9c6c 100644 --- a/drape/render_state.cpp +++ b/drape/render_state.cpp @@ -9,22 +9,6 @@ namespace { std::string const kColorTextureName = "u_colorTex"; std::string const kMaskTextureName = "u_maskTex"; - -glConst DecodeTestFunction(TestFunction depthFunction) -{ - switch (depthFunction) - { - case TestFunction::Never: return gl_const::GLNever; - case TestFunction::Less: return gl_const::GLLess; - case TestFunction::Equal: return gl_const::GLEqual; - case TestFunction::LessOrEqual: return gl_const::GLLessOrEqual; - case TestFunction::Greater: return gl_const::GLGreat; - case TestFunction::NotEqual: return gl_const::GLNotEqual; - case TestFunction::GreaterOrEqual: return gl_const::GLGreatOrEqual; - case TestFunction::Always: return gl_const::GLAlways; - } - CHECK_SWITCH(); -} } // namespace // static -- cgit v1.2.3