#pragma once #include namespace mbgl { namespace gl { class Context; } // namespace gl namespace gfx { template std::unique_ptr> Context::createProgram(const ProgramParameters& programParameters) { if (backend == ContextType::OpenGL) { return createProgram(programParameters); } assert(false); return nullptr; } } // namespace gfx } // namespace mbgl