diff options
Diffstat (limited to 'platform/linux/src')
-rw-r--r-- | platform/linux/src/headless_backend_egl.cpp | 2 | ||||
-rw-r--r-- | platform/linux/src/headless_backend_glx.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/platform/linux/src/headless_backend_egl.cpp b/platform/linux/src/headless_backend_egl.cpp index d72fbbfdea..21db012510 100644 --- a/platform/linux/src/headless_backend_egl.cpp +++ b/platform/linux/src/headless_backend_egl.cpp @@ -8,6 +8,7 @@ #include <cassert> namespace mbgl { +namespace gl { // This class provides a singleton that contains information about the configuration used for // instantiating new headless rendering contexts. @@ -142,4 +143,5 @@ void HeadlessBackend::createImpl() { impl = std::make_unique<EGLBackendImpl>(); } +} // namespace gl } // namespace mbgl diff --git a/platform/linux/src/headless_backend_glx.cpp b/platform/linux/src/headless_backend_glx.cpp index 27af98e70a..4045d6635e 100644 --- a/platform/linux/src/headless_backend_glx.cpp +++ b/platform/linux/src/headless_backend_glx.cpp @@ -7,6 +7,7 @@ #include <GL/glx.h> namespace mbgl { +namespace gl { // This class provides a singleton that contains information about the configuration used for // instantiating new headless rendering contexts. @@ -127,4 +128,5 @@ void HeadlessBackend::createImpl() { impl = std::make_unique<GLXBackendImpl>(); } +} // namespace gl } // namespace mbgl |