Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2018-08-24 20:24:06 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2018-08-26 17:17:14 +0300
commit50934148bc9d388aab27aa61e1fcb75db245551d (patch)
tree37ee2a0a5a89072c95ef0546ee11cb76d81ed5a8 /drape/render_state.cpp
parentc3f11ae4261327c75c28815d6cc4248b6ca42f10 (diff)
Unused code warning fixed.
Diffstat (limited to 'drape/render_state.cpp')
-rw-r--r--drape/render_state.cpp16
1 files changed, 0 insertions, 16 deletions
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