summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/raster_bucket.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-02-17 18:09:34 -0800
committerKonstantin Käfer <mail@kkaefer.com>2015-02-17 18:27:51 -0800
commitc07fa069944b42890aa419cfe542ed98add57037 (patch)
treee4b43fd47c24633a649d65608387ee4a1eb5f80f /src/mbgl/renderer/raster_bucket.hpp
parent89c0ff5f3955ecd4316a7b4280e995b7b431817d (diff)
downloadqtlocation-mapboxgl-c07fa069944b42890aa419cfe542ed98add57037.tar.gz
rename StyleBucket* => StyleLayout*
and remove a few unused variables refs #881
Diffstat (limited to 'src/mbgl/renderer/raster_bucket.hpp')
-rw-r--r--src/mbgl/renderer/raster_bucket.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/renderer/raster_bucket.hpp b/src/mbgl/renderer/raster_bucket.hpp
index e03b08aa5f..1f589e5b6c 100644
--- a/src/mbgl/renderer/raster_bucket.hpp
+++ b/src/mbgl/renderer/raster_bucket.hpp
@@ -9,20 +9,21 @@
namespace mbgl {
+class StyleLayoutRaster;
class RasterShader;
class StaticVertexBuffer;
class VertexArrayObject;
class RasterBucket : public Bucket {
public:
- RasterBucket(TexturePool&, const StyleBucketRaster&);
+ RasterBucket(TexturePool&, const StyleLayoutRaster&);
virtual void render(Painter& painter, util::ptr<StyleLayer> layer_desc, const Tile::ID& id, const mat4 &matrix);
virtual bool hasData() const;
bool setImage(const std::string &data);
- const StyleBucketRaster &properties;
+ const StyleLayoutRaster &layout;
void drawRaster(RasterShader& shader, StaticVertexBuffer &vertices, VertexArrayObject &array);