diff options
Diffstat (limited to 'platform/darwin/src/MGLOpenGLStyleLayer_Private.h')
-rw-r--r-- | platform/darwin/src/MGLOpenGLStyleLayer_Private.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLOpenGLStyleLayer_Private.h b/platform/darwin/src/MGLOpenGLStyleLayer_Private.h new file mode 100644 index 0000000000..1188c50cd5 --- /dev/null +++ b/platform/darwin/src/MGLOpenGLStyleLayer_Private.h @@ -0,0 +1,15 @@ +#pragma once + +#include "MGLStyleLayer_Private.h" + +#include <mbgl/style/layers/custom_layer.hpp> + +namespace mbgl { + +class OpenGLStyleLayerPeerFactory : public LayerPeerFactory, public mbgl::style::CustomLayerFactory { + // LayerPeerFactory overrides. + style::LayerFactory* getCoreLayerFactory() final { return this; } + virtual MGLStyleLayer* createPeer(style::Layer*) final; +}; + +} // namespace mbgl |