summaryrefslogtreecommitdiff
path: root/src/mbgl/gl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl')
-rw-r--r--src/mbgl/gl/debugging.hpp5
-rw-r--r--src/mbgl/gl/gl_config.hpp5
-rw-r--r--src/mbgl/gl/gl_object_store.hpp5
-rw-r--r--src/mbgl/gl/texture_pool.hpp5
4 files changed, 4 insertions, 16 deletions
diff --git a/src/mbgl/gl/debugging.hpp b/src/mbgl/gl/debugging.hpp
index 5321858624..b51b5dafe2 100644
--- a/src/mbgl/gl/debugging.hpp
+++ b/src/mbgl/gl/debugging.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_GL_DEBUG_MESSAGES
-#define MBGL_GL_DEBUG_MESSAGES
+#pragma once
#include <string>
@@ -25,5 +24,3 @@ struct group {
} // namespace debugging
} // namespace gl
} // namespace mbgl
-
-#endif
diff --git a/src/mbgl/gl/gl_config.hpp b/src/mbgl/gl/gl_config.hpp
index 62dfbcadc0..7b42c7829f 100644
--- a/src/mbgl/gl/gl_config.hpp
+++ b/src/mbgl/gl/gl_config.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_GL_GL_CONFIG
-#define MBGL_GL_GL_CONFIG
+#pragma once
#include <cstdint>
#include <tuple>
@@ -111,5 +110,3 @@ public:
} // namespace gl
} // namespace mbgl
-
-#endif // MBGL_RENDERER_GL_CONFIG
diff --git a/src/mbgl/gl/gl_object_store.hpp b/src/mbgl/gl/gl_object_store.hpp
index 832f1d09b3..b30abd3892 100644
--- a/src/mbgl/gl/gl_object_store.hpp
+++ b/src/mbgl/gl/gl_object_store.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_MAP_UTIL_GL_OBJECT_STORE
-#define MBGL_MAP_UTIL_GL_OBJECT_STORE
+#pragma once
#include <mbgl/gl/gl.hpp>
#include <mbgl/util/noncopyable.hpp>
@@ -137,5 +136,3 @@ public:
} // namespace gl
} // namespace mbgl
-
-#endif
diff --git a/src/mbgl/gl/texture_pool.hpp b/src/mbgl/gl/texture_pool.hpp
index 10f63bfac9..10894f146e 100644
--- a/src/mbgl/gl/texture_pool.hpp
+++ b/src/mbgl/gl/texture_pool.hpp
@@ -1,5 +1,4 @@
-#ifndef MBGL_UTIL_TEXTUREPOOL
-#define MBGL_UTIL_TEXTUREPOOL
+#pragma once
#include <mbgl/util/noncopyable.hpp>
#include <mbgl/gl/gl.hpp>
@@ -37,5 +36,3 @@ private:
} // namespace gl
} // namespace mbgl
-
-#endif