Fix namespace issue with OSMesa
HeadlessBackend seems to be part of the mbgl::gl namespace. Since OSMesaBackendImpl is only in the mbgl namespace this code does not compile. Since this file is in the mbgl/gl folder I think it makes sense to just put the whole thing in the mbgl::gl namespace.
This commit is contained in:
committed by
Thiago Marcos P. Santos
parent
fc802daa62
commit
774d32038f
@@ -6,6 +6,7 @@
|
||||
#include <cassert>
|
||||
|
||||
namespace mbgl {
|
||||
namespace gl {
|
||||
|
||||
class OSMesaBackendImpl : public HeadlessBackend::Impl {
|
||||
public:
|
||||
@@ -44,4 +45,5 @@ void HeadlessBackend::createImpl() {
|
||||
impl = std::make_unique<OSMesaBackendImpl>();
|
||||
}
|
||||
|
||||
} // namespace gl
|
||||
} // namespace mbgl
|
||||
|
||||
Reference in New Issue
Block a user