diff options
Diffstat (limited to 'include/mbgl/style/layers/custom_layer.hpp')
-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 |