Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.5…
Browse files Browse the repository at this point in the history
…-master

Also reran make style-code and manually discarded anything related to fill extrusion layers.
  • Loading branch information
1ec5 committed Dec 20, 2016
2 parents dad57df + e2fde9c commit a6b1773
Show file tree
Hide file tree
Showing 153 changed files with 4,781 additions and 2,337 deletions.
1 change: 1 addition & 0 deletions include/mbgl/map/map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ class Map : private util::noncopyable {
// Add image, bound to the style
void addImage(const std::string&, std::unique_ptr<const SpriteImage>);
void removeImage(const std::string&);
const SpriteImage* getImage(const std::string&);

// Defaults
std::string getStyleName() const;
Expand Down
6 changes: 3 additions & 3 deletions include/mbgl/style/layers/custom_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ namespace style {

/**
* Initialize any GL state needed by the custom layer. This method is called once, from the
* rendering thread, at a point when the GL context is active but before rendering for the
* first time.
* main thread, at a point when the GL context is active but before rendering for the first
* time.
*
* Resources that are acquired in this method must be released in the UninitializeFunction.
*/
Expand Down Expand Up @@ -40,7 +40,7 @@ using CustomLayerRenderFunction = void (*)(void* context, const CustomLayerRende

/**
* Destroy any GL state needed by the custom layer, and deallocate context, if necessary. This
* method is called once, from the rendering thread, at a point when the GL context is active.
* method is called once, from the main thread, at a point when the GL context is active.
*
* Note that it may be called even when the InitializeFunction has not been called.
*/
Expand Down
Loading

0 comments on commit a6b1773

Please sign in to comment.