diff options
Diffstat (limited to 'src/mbgl/programs/background_program.hpp')
-rw-r--r-- | src/mbgl/programs/background_program.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mbgl/programs/background_program.hpp b/src/mbgl/programs/background_program.hpp index 667db7792b..6f9ab2a200 100644 --- a/src/mbgl/programs/background_program.hpp +++ b/src/mbgl/programs/background_program.hpp @@ -80,4 +80,13 @@ public: using BackgroundLayoutVertex = BackgroundProgram::LayoutVertex; using BackgroundAttributes = BackgroundProgram::Attributes; +class BackgroundLayerPrograms final : public LayerTypePrograms { +public: + BackgroundLayerPrograms(gl::Context& context, const ProgramParameters& programParameters) + : background(context, programParameters), + backgroundPattern(context, programParameters) {} + BackgroundProgram background; + BackgroundPatternProgram backgroundPattern; +}; + } // namespace mbgl |