summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/value.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/value.hpp')
-rw-r--r--src/mbgl/gl/value.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mbgl/gl/value.hpp b/src/mbgl/gl/value.hpp
index eccd3e7373..aa5cca6fec 100644
--- a/src/mbgl/gl/value.hpp
+++ b/src/mbgl/gl/value.hpp
@@ -10,6 +10,9 @@
namespace mbgl {
namespace gl {
+
+class Context;
+
namespace value {
struct ClearDepth {
@@ -225,8 +228,8 @@ struct BindElementBuffer {
struct BindVertexArray {
using Type = gl::VertexArrayID;
static const constexpr Type Default = 0;
- static void Set(const Type&);
- static Type Get();
+ static void Set(const Type&, const Context&);
+ static Type Get(const Context&);
};
#if not MBGL_USE_GLES2