diff options
author | Julian Rex <julian.rex@mapbox.com> | 2018-03-28 18:59:38 -0400 |
---|---|---|
committer | Julian Rex <julian.rex@mapbox.com> | 2018-03-28 18:59:38 -0400 |
commit | 4e88894b91cb9d20a275e71c2f9c86842a475b73 (patch) | |
tree | e2fb9a5f75b8c3e317d2c9de5e4e22413c15241e /include | |
parent | 4fd1792865465c113dde1702f2213ab6b7aadebd (diff) | |
download | qtlocation-mapboxgl-4e88894b91cb9d20a275e71c2f9c86842a475b73.tar.gz |
Changed OpenGL retain management to use NSMutableSet.upstream/ahm-custom-layer-fix
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/style/layers/custom_layer.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/mbgl/style/layers/custom_layer.hpp b/include/mbgl/style/layers/custom_layer.hpp index 0eb2f27852..bf3387f95b 100644 --- a/include/mbgl/style/layers/custom_layer.hpp +++ b/include/mbgl/style/layers/custom_layer.hpp @@ -2,8 +2,6 @@ #include <mbgl/style/layer.hpp> -#include <functional> - namespace mbgl { namespace style { @@ -46,7 +44,7 @@ using CustomLayerRenderFunction = void (*)(void* context, const CustomLayerRende * `CustomLayerInitializeFunction` will be called instead to prepare for a new render. * */ -using CustomLayerContextLostFunction = std::function<void(void*)>; +using CustomLayerContextLostFunction = void (*)(void* context); /** * Destroy any GL state needed by the custom layer, and deallocate context, if necessary. This |