diff --git a/drape/drape_tests/glfunctions.cpp b/drape/drape_tests/glfunctions.cpp index 4179c92635..e308d1e5c3 100644 --- a/drape/drape_tests/glfunctions.cpp +++ b/drape/drape_tests/glfunctions.cpp @@ -257,3 +257,5 @@ void * GLFunctions::glMapBuffer(glConst target) { return 0; } void GLFunctions::glUnmapBuffer(glConst target) {} void GLFunctions::glDrawElements(uint16_t indexCount) {} + +void GLFunctions::glPixelStore(glConst name, uint32_t value) {} diff --git a/drape/glsl_types.hpp b/drape/glsl_types.hpp index 844ba21116..e65ab85d10 100644 --- a/drape/glsl_types.hpp +++ b/drape/glsl_types.hpp @@ -55,26 +55,26 @@ inline vec2 ToVec2(m2::PointD const & pt) } template -uint8_t GetComponentCount() +inline uint8_t GetComponentCount() { ASSERT(false, ()); return 0; } template <> -uint8_t GetComponentCount() +inline uint8_t GetComponentCount() { return 2; } template <> -uint8_t GetComponentCount() +inline uint8_t GetComponentCount() { return 3; } template <> -uint8_t GetComponentCount() +inline uint8_t GetComponentCount() { return 4; }