diff options
Diffstat (limited to 'gfx/gl/glSource.h')
-rw-r--r-- | gfx/gl/glSource.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gfx/gl/glSource.h b/gfx/gl/glSource.h deleted file mode 100644 index c6b1f41..0000000 --- a/gfx/gl/glSource.h +++ /dev/null @@ -1,16 +0,0 @@ -#pragma once - -#include <GL/glew.h> -#include <glRef.hpp> -#include <string_view> - -struct GLsource { - using ShaderRef = glRef<GLuint, &__glewCreateShader, &__glewDeleteShader>; - - const GLchar * text; - GLint len; - GLuint type; - - [[nodiscard]] ShaderRef compile() const; - static void CheckShaderError(GLuint shader, GLuint flag, bool isProgram, std::string_view errorMessage); -}; |