[core] Rationalize style property classes: <type>{Paint,Layout}Properties

This commit is contained in:
John Firebaugh
2015-10-19 13:19:52 -07:00
parent 83d39364f9
commit df89de5cc5
31 changed files with 279 additions and 352 deletions

View File

@@ -9,7 +9,7 @@ using namespace mbgl;
void Painter::renderRaster(RasterBucket& bucket, const StyleLayer &layer_desc, const TileID&, const mat4 &matrix) {
if (pass != RenderPass::Translucent) return;
const RasterProperties &properties = layer_desc.getProperties<RasterProperties>();
const RasterPaintProperties& properties = layer_desc.getProperties<RasterPaintProperties>();
if (bucket.hasData()) {
useProgram(rasterShader->program);