diff options
author | Maksim Andrianov <maksimandrianov1@gmail.com> | 2018-08-10 16:41:13 +0300 |
---|---|---|
committer | Vlad Mihaylenko <vxmihaylenko@gmail.com> | 2018-08-10 17:02:50 +0300 |
commit | 1d48f20bcb96893777c423f4bec19bd4e3faf6f7 (patch) | |
tree | 689e368698ff8297250e4a85b118998407e77d23 /drape/render_state.cpp | |
parent | 6556e6ef4a514b64711cd0c36bec0b1106bab91d (diff) |
Fixed build(removed const), fixed warnings
Diffstat (limited to 'drape/render_state.cpp')
-rw-r--r-- | drape/render_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drape/render_state.cpp b/drape/render_state.cpp index 2a1063e148..ca55f3a95f 100644 --- a/drape/render_state.cpp +++ b/drape/render_state.cpp @@ -20,7 +20,7 @@ glConst DecodeDepthFunction(DepthFunction depthFunction) case DepthFunction::GreatOrEqual: return gl_const::GLGreatOrEqual; case DepthFunction::Always: return gl_const::GLAlways; } - ASSERT(false, ()); + CHECK_SWITCH(); } } // namespace |