diff options
Diffstat (limited to 'include/mbgl/gl')
-rw-r--r-- | include/mbgl/gl/gl.hpp | 5 | ||||
-rw-r--r-- | include/mbgl/gl/gl_helper.hpp | 5 | ||||
-rw-r--r-- | include/mbgl/gl/gl_values.hpp | 7 |
3 files changed, 4 insertions, 13 deletions
diff --git a/include/mbgl/gl/gl.hpp b/include/mbgl/gl/gl.hpp index 5ef76cf1da..6d601d8a23 100644 --- a/include/mbgl/gl/gl.hpp +++ b/include/mbgl/gl/gl.hpp @@ -1,5 +1,4 @@ -#ifndef MBGL_GL_GL -#define MBGL_GL_GL +#pragma once //#define GL_TRACK @@ -164,5 +163,3 @@ void mbx_glTexImage2D(GLenum target, GLenum type, const GLvoid * data); #endif - -#endif diff --git a/include/mbgl/gl/gl_helper.hpp b/include/mbgl/gl/gl_helper.hpp index 4f3990a434..893c73e0c3 100644 --- a/include/mbgl/gl/gl_helper.hpp +++ b/include/mbgl/gl/gl_helper.hpp @@ -1,5 +1,4 @@ -#ifndef MBGL_GL_GL_HELPER -#define MBGL_GL_GL_HELPER +#pragma once namespace mbgl { namespace gl { @@ -19,5 +18,3 @@ private: } // namespace gl } // namespace mbgl - -#endif diff --git a/include/mbgl/gl/gl_values.hpp b/include/mbgl/gl/gl_values.hpp index b96cfe310e..4204ca8e13 100644 --- a/include/mbgl/gl/gl_values.hpp +++ b/include/mbgl/gl/gl_values.hpp @@ -1,5 +1,4 @@ -#ifndef MBGL_GL_GL_VALUES -#define MBGL_GL_GL_VALUES +#pragma once #include <cstdint> #include <tuple> @@ -286,9 +285,7 @@ struct RasterPos { } }; -#endif +#endif // GL_ES_VERSION_2_0 } // namespace gl } // namespace mbgl - -#endif // MBGL_RENDERER_GL_CONFIG |