summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/draw_scope_resource.hpp
blob: 4c446cd4fe7963ef4f96f9238573f2ee7b7e690e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <mbgl/gfx/draw_scope.hpp>
#include <mbgl/gl/vertex_array.hpp>

namespace mbgl {
namespace gl {

class DrawScopeResource : public gfx::DrawScopeResource {
public:
    DrawScopeResource(VertexArray&& vertexArray_) : vertexArray(std::move(vertexArray_)) {
    }

    VertexArray vertexArray;
};

} // namespace gl
} // namespace mbgl