diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-02-17 10:09:49 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-02-20 08:24:42 -0800 |
commit | 4e752f63b94b71d901a1933a1bb121332fffe96b (patch) | |
tree | 3d94e81332b9ec66219ae15a08bf2b6c519dc069 /src/mbgl/gl/context.hpp | |
parent | f8ab327874d32c77e591be82fd46c8cb741c130c (diff) | |
download | qtlocation-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.hpp | 2 |
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> |