diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-04-02 22:47:24 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-04-05 11:49:17 +0200 |
commit | ebd850803278a6ffbca0bc8a5b96d415b239aeb8 (patch) | |
tree | 3ff807a5fa1bde413120997e00fcab68044544f6 /src/mbgl/gfx/attribute.hpp | |
parent | c02010ab6c8958f6897921c82cf47411de759269 (diff) | |
download | qtlocation-mapboxgl-ebd850803278a6ffbca0bc8a5b96d415b239aeb8.tar.gz |
[core] add getResource template to gfx::*Resource classes
Diffstat (limited to 'src/mbgl/gfx/attribute.hpp')
-rw-r--r-- | src/mbgl/gfx/attribute.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/gfx/attribute.hpp b/src/mbgl/gfx/attribute.hpp index f5188ccfdb..ecb2b5e1b2 100644 --- a/src/mbgl/gfx/attribute.hpp +++ b/src/mbgl/gfx/attribute.hpp @@ -250,7 +250,7 @@ AttributeBinding attributeBinding(const VertexBuffer<detail::VertexType<As...>>& return { Descriptor::data.attributes[I], Descriptor::data.stride, - buffer.resource.get(), + &buffer.getResource(), 0, }; } |