From b5b9c95de160a97701777d37187de194d0b29e61 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 2 Jan 2022 19:55:40 +0000 Subject: Replace include guard macros with pragma once --- gfx/gl/glSource.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gfx/gl/glSource.h') 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 #include @@ -15,5 +14,3 @@ struct GLsource { [[nodiscard]] ShaderRef compile() const; static void CheckShaderError(GLuint shader, GLuint flag, bool isProgram, std::string_view errorMessage); }; - -#endif -- cgit v1.2.3