summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/context.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-02-17 10:09:49 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-02-20 08:24:42 -0800
commit4e752f63b94b71d901a1933a1bb121332fffe96b (patch)
tree3d94e81332b9ec66219ae15a08bf2b6c519dc069 /src/mbgl/gl/context.hpp
parentf8ab327874d32c77e591be82fd46c8cb741c130c (diff)
downloadqtlocation-mapboxgl-4e752f63b94b71d901a1933a1bb121332fffe96b.tar.gz
[core] Redo approach to unsupported VAO extension
Diffstat (limited to 'src/mbgl/gl/context.hpp')
-rw-r--r--src/mbgl/gl/context.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/gl/context.hpp b/src/mbgl/gl/context.hpp
index d1be794240..9d3ecec662 100644
--- a/src/mbgl/gl/context.hpp
+++ b/src/mbgl/gl/context.hpp
@@ -39,6 +39,8 @@ public:
UniqueProgram createProgram(ShaderID vertexShader, ShaderID fragmentShader);
void linkProgram(ProgramID);
UniqueTexture createTexture();
+
+ bool supportsVertexArrays() const;
UniqueVertexArray createVertexArray();
template <class Vertex, class DrawMode>