summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/collision_box_program.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-03-07 13:08:30 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-03-12 11:03:54 +0100
commitcb64c380fbbd209cb68af60e76b7a770805353a8 (patch)
tree77b790ae49e8f5877be599a0dad2f413a98da43f /src/mbgl/programs/collision_box_program.hpp
parent54847ea98698c85da156874dc84088772599ee3b (diff)
downloadqtlocation-mapboxgl-cb64c380fbbd209cb68af60e76b7a770805353a8.tar.gz
[core] add texture bindings to draw call invocations
Diffstat (limited to 'src/mbgl/programs/collision_box_program.hpp')
-rw-r--r--src/mbgl/programs/collision_box_program.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/programs/collision_box_program.hpp b/src/mbgl/programs/collision_box_program.hpp
index e9b69c639b..cd7f0bfd68 100644
--- a/src/mbgl/programs/collision_box_program.hpp
+++ b/src/mbgl/programs/collision_box_program.hpp
@@ -75,6 +75,7 @@ public:
const SegmentVector<Attributes>& segments,
const Binders& paintPropertyBinders,
const typename PaintProperties::PossiblyEvaluated& currentProperties,
+ const TextureBindings& textureBindings,
float currentZoom,
const std::string& layerID) {
typename AllUniforms::Values allUniformValues = uniformValues
@@ -103,6 +104,7 @@ public:
allUniformValues,
vertexArrayIt->second,
Attributes::offsetBindings(allAttributeBindings, segment.vertexOffset),
+ textureBindings,
indexBuffer,
segment.indexOffset,
segment.indexLength);
@@ -161,6 +163,7 @@ public:
const SegmentVector<Attributes>& segments,
const Binders& paintPropertyBinders,
const typename PaintProperties::PossiblyEvaluated& currentProperties,
+ const TextureBindings& textureBindings,
float currentZoom,
const std::string& layerID) {
typename AllUniforms::Values allUniformValues = uniformValues
@@ -187,6 +190,7 @@ public:
allUniformValues,
vertexArrayIt->second,
Attributes::offsetBindings(allAttributeBindings, segment.vertexOffset),
+ textureBindings,
indexBuffer,
segment.indexOffset,
segment.indexLength);