diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-01-02 19:55:40 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-01-02 19:55:40 +0000 |
commit | b5b9c95de160a97701777d37187de194d0b29e61 (patch) | |
tree | 9acc47919f90b119ee6029266f565bd33e0c3630 /gfx/gl/glSource.h | |
parent | Separate geographic data (GeoData) from its visual representation(s) (Terrain) (diff) | |
download | ilt-b5b9c95de160a97701777d37187de194d0b29e61.tar.bz2 ilt-b5b9c95de160a97701777d37187de194d0b29e61.tar.xz ilt-b5b9c95de160a97701777d37187de194d0b29e61.zip |
Replace include guard macros with pragma once
Diffstat (limited to 'gfx/gl/glSource.h')
-rw-r--r-- | gfx/gl/glSource.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gfx/gl/glSource.h b/gfx/gl/glSource.h index 7b43c48..c6b1f41 100644 --- a/gfx/gl/glSource.h +++ b/gfx/gl/glSource.h @@ -1,5 +1,4 @@ -#ifndef SHADER_SOURCE_H -#define SHADER_SOURCE_H +#pragma once #include <GL/glew.h> #include <glRef.hpp> @@ -15,5 +14,3 @@ struct GLsource { [[nodiscard]] ShaderRef compile() const; static void CheckShaderError(GLuint shader, GLuint flag, bool isProgram, std::string_view errorMessage); }; - -#endif |