diff --git a/drape/glfunctions.cpp b/drape/glfunctions.cpp index b325800fc2..b794140d3b 100644 --- a/drape/glfunctions.cpp +++ b/drape/glfunctions.cpp @@ -148,7 +148,7 @@ bool GLFunctions::glHasExtension(const string & name) return false; } -int GLFunctions::glGenVertexArray() +uint32_t GLFunctions::glGenVertexArray() { ASSERT(glGenVertexArraysFn != NULL, ()); GLuint result = 0; diff --git a/drape/glfunctions.hpp b/drape/glfunctions.hpp index 9a940a6e8a..d7f3f49009 100644 --- a/drape/glfunctions.hpp +++ b/drape/glfunctions.hpp @@ -11,7 +11,7 @@ public: static bool glHasExtension(const string & name); /// VAO support - static int glGenVertexArray(); + static uint32_t glGenVertexArray(); static void glBindVertexArray(uint32_t vao); static void glDeleteVertexArray(uint32_t vao);